File: api-open-document.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 (16 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Feature: Open a document
  In order work on a document
  As a developer using python-docx
  I need a way to open a document


  Scenario: Open a specified document
    Given I have python-docx installed
     When I call docx.Document() with the path of a .docx file
     Then document is a Document object


  Scenario: Open the default document
    Given I have python-docx installed
     When I call docx.Document() with no arguments
     Then document is a Document object