File: run-clear-run.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-- 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