fix ampersands when comparing docx output in tests

This commit is contained in:
dandds 2019-01-10 11:37:26 -05:00
parent e2e4b5ae70
commit 74ed550292

View File

@ -9,7 +9,9 @@ from tests.factories import TaskOrderFactory, WorkspaceFactory, UserFactory
def xml_translated(val):
return re.sub("'", "'", str(val))
val = re.sub("'", "'", str(val))
val = re.sub(" & ", " & ", str(val))
return val
def test_download_summary(client, user_session):