fix ampersands when comparing docx output in tests
This commit is contained in:
parent
e2e4b5ae70
commit
74ed550292
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user