File: doc-add-page-break.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 (10 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
Feature: Add a page break
  In order to force a page break at a particular location
  As a developer using the python-docx
  I need a way to add a hard page break on its own paragraph


  Scenario: Add a hard page break paragraph
    Given a blank document
     When I add a page break to the document
     Then the last paragraph contains only a page break