File: par-clear-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 (11 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
Feature: Clear paragraph content
  In order to change paragraph content while retaining its formatting
  As a developer using python-docx
  I need a way to remove the content of a paragraph


  Scenario: Clear paragraph content
    Given a paragraph with content and formatting
     When I clear the paragraph content
     Then the paragraph has no content
      But the paragraph formatting is preserved