File: par-set-text.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 (11 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
Feature: Replace paragraph text
  In order to conveniently change the text of a paragraph in place
  As a developer using python-docx
  I need a writable text property on paragraph


  Scenario: Set paragraph text
    Given a paragraph with content and formatting
     When I set the paragraph text
     Then the paragraph has the text I set
      And the paragraph formatting is preserved