File: run-clear-run.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-- 373 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
Feature: Remove the content of a run
  In order to edit the content of a run while preserving its formatting
  As a developer using python-docx
  I need a way to clear the content of a run


  Scenario: Clear run content
    Given a run having known text and formatting
     When I clear the run
     Then the run contains no text
      But the run formatting is preserved