File: blk-add-paragraph.feature

package info (click to toggle)
python-docx 0.8.11%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,640 kB
  • sloc: xml: 25,311; python: 21,911; makefile: 168
file content (12 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
Feature: Add a paragraph of text
  In order to populate the text of a document
  As a developer using python-docx
  I need the ability to add a paragraph

  Scenario: Add a paragraph using low-level text API
    Given a document
     When I add a paragraph
      And I add a run to the paragraph
      And I add text to the run
      And I save the document
     Then the document contains the text I added