File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 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
33 As a pptx developer
44 I want to see it pass a basic round-trip sanity-check
55
6- @wip
76 Scenario : Round-trip a .pptx file
87 Given a clean working directory
98 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):
190190 assert rel .target_part .partname == target , (
191191 "target partname for %s on %s is '%s'" %
192192 (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