aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-03-06 11:24:36 +1100
committerBen Sturmfels <ben@sturm.com.au>2021-03-06 11:24:36 +1100
commitf7a4dd116879450d011c643433c123f91f182eb3 (patch)
tree77fa8c5d10b09f1d1e0902daee8c07ad69b063b4 /mediagoblin/tests
parent07ac2774daa1d1c28dbfe7c32e8861d8383061fc (diff)
downloadmediagoblin-f7a4dd116879450d011c643433c123f91f182eb3.tar.lz
mediagoblin-f7a4dd116879450d011c643433c123f91f182eb3.tar.xz
mediagoblin-f7a4dd116879450d011c643433c123f91f182eb3.zip
Fix broken metadata editing test.
Diffstat (limited to 'mediagoblin/tests')
-rw-r--r--mediagoblin/tests/test_edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_edit.py b/mediagoblin/tests/test_edit.py
index 424796e8..815d62ba 100644
--- a/mediagoblin/tests/test_edit.py
+++ b/mediagoblin/tests/test_edit.py
@@ -256,4 +256,4 @@ class TestMetaDataEdit:
context = template.TEMPLATE_TEST_CONTEXT[
'mediagoblin/edit/metadata.html']
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