diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-03-06 11:24:36 +1100 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-03-06 11:24:36 +1100 |
commit | f7a4dd116879450d011c643433c123f91f182eb3 (patch) | |
tree | 77fa8c5d10b09f1d1e0902daee8c07ad69b063b4 /mediagoblin/tests | |
parent | 07ac2774daa1d1c28dbfe7c32e8861d8383061fc (diff) | |
download | mediagoblin-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.py | 2 |
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 |