make sure doc test does not leave a modified file behind.
This commit is contained in:
parent
e2b5359d9a
commit
012217c348
2 changed files with 3 additions and 1 deletions
|
@ -223,7 +223,6 @@ Extracting Document Properties from MS Office Files
|
|||
>>> tOfficeFile = concepts['officefile']
|
||||
>>> path = os.path.join(dataDir, 'office')
|
||||
>>> fn = os.path.join(path, 'example.docx')
|
||||
>>> shutil.copy(fn + '.sav', fn)
|
||||
>>> os.path.getsize(fn)
|
||||
20337L
|
||||
|
||||
|
@ -237,6 +236,9 @@ Extracting Document Properties from MS Office Files
|
|||
>>> len(content)
|
||||
17409
|
||||
|
||||
Clean up:
|
||||
>>> shutil.copy(fn + '.sav', fn)
|
||||
|
||||
|
||||
Fin de partie
|
||||
=============
|
||||
|
|
BIN
integrator/testdata/office/example.docx
vendored
BIN
integrator/testdata/office/example.docx
vendored
Binary file not shown.
Loading…
Add table
Reference in a new issue