-
Notifications
You must be signed in to change notification settings - Fork 546
/
Copy pathprs-coreprops.feature
20 lines (17 loc) · 992 Bytes
/
prs-coreprops.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Feature: Read and write core document properties
In order to find documents and make them manageable by digital means
As a developer using python-pptx
I need to access and assign Dublin Core metadata for a presentation
Scenario: round-trip Dublin Core metadata describing a presentation
Given I have a reference to the core properties of a presentation
When I set the core properties to valid values
And I save the presentation
Then the core properties of the presentation have the values I set
Scenario: default core props part added if deck doesn't have one
When I open a presentation having no core properties part
Then a core properties part with default values is added
Scenario: added core props part is saved
When I open a presentation having no core properties part
And I set the core properties to valid values
And I save the presentation
Then the core properties of the presentation have the values I set