diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-08-20 20:34:34 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-08-20 20:35:14 +0100 |
| commit | 1c14ed25d75caf3228a92d8f7292bf0bf040653b (patch) | |
| tree | aa36f672e71baebf7b870a8be609d1990dd450e3 /tests/docx | |
| parent | 06ac97ac681accc691affdfafec97ded54faba23 (diff) | |
Fix: cannot read file objects with name attribute
Diffstat (limited to 'tests/docx')
| -rw-r--r-- | tests/docx/body_xml_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/docx/body_xml_tests.py b/tests/docx/body_xml_tests.py index 6122706..da662d8 100644 --- a/tests/docx/body_xml_tests.py +++ b/tests/docx/body_xml_tests.py @@ -406,6 +406,7 @@ class ReadXmlElementTests(object): }) files = context.mock() + funk.allows(files).verify("file:///media/hat.png") funk.allows(files).open("file:///media/hat.png").returns(io.BytesIO(image_bytes)) content_types = context.mock() |
