File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ Feature: Save an OPC package
3
3
As a pptx developer
4
4
I want to see it pass a basic round-trip sanity-check
5
5
6
- @wip
7
6
Scenario : Round-trip a .pptx file
8
7
Given a clean working directory
9
8
When I open a PowerPoint file
Original file line number Diff line number Diff line change @@ -190,3 +190,12 @@ def step_then_expected_parts_are_loaded(context):
190
190
assert rel .target_part .partname == target , (
191
191
"target partname for %s on %s is '%s'" %
192
192
(rId , partname , rel .target_part .partname ))
193
+
194
+
195
+ @then ('I see the pptx file in the working directory' )
196
+ def step_then_see_pptx_file_in_working_dir (context ):
197
+ reason = "file '%s' not found" % saved_pptx_path
198
+ assert os .path .isfile (saved_pptx_path ), reason
199
+ minimum = 20000
200
+ filesize = os .path .getsize (saved_pptx_path )
201
+ assert filesize > minimum
You can’t perform that action at this time.
0 commit comments