File: run-add-content.feature

package info (click to toggle)
python-docx 1.2.0%2Bdfsg-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,216 kB
  • sloc: xml: 25,323; python: 23,414; makefile: 175
file content (14 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Feature: Add content to a run
  In order to populate a run with varied content
  As a developer using python-docx
  I need a way to add each of the run content elements to a run

  Scenario: Add a tab
    Given a run
     When I add a tab
     Then the tab appears at the end of the run

  Scenario: Assign mixed text to text property
    Given a run
     When I assign mixed text to the text property
     Then run.text contains the text content of the run