download link for task order summary

This commit is contained in:
dandds
2018-12-20 10:41:54 -05:00
parent 59510819e7
commit 718f88d828
7 changed files with 55 additions and 5 deletions

View File

@@ -7,6 +7,6 @@ from atst.utils.docx import Docx
def test_render_docx():
data = {"droid_class": "R2"}
docx_file = Docx.render(data=data)
zip_ = ZipFile(BytesIO(docx_file), mode="r")
zip_ = ZipFile(docx_file, mode="r")
document = zip_.read(Docx.DOCUMENT_FILE)
assert b"droid_class: R2" in document