Fix broken metadata editing test.

This commit is contained in:
Ben Sturmfels 2021-03-06 11:24:36 +11:00
parent 07ac2774da
commit f7a4dd1168

View File

@ -256,4 +256,4 @@ class TestMetaDataEdit:
context = template.TEMPLATE_TEST_CONTEXT[ context = template.TEMPLATE_TEST_CONTEXT[
'mediagoblin/edit/metadata.html'] 'mediagoblin/edit/metadata.html']
expected = "'On the worst day' is not a 'date-time'" expected = "'On the worst day' is not a 'date-time'"
assert context['form'].errors['media_metadata'][0]['identifier'][0] == expected assert context['form'].errors['media_metadata'][2]['identifier'][0] == expected