diff --git a/django_lostplaces/lostplaces/tests/views/__init__.py b/django_lostplaces/lostplaces/tests/views/__init__.py index fd7618a..78cd15e 100644 --- a/django_lostplaces/lostplaces/tests/views/__init__.py +++ b/django_lostplaces/lostplaces/tests/views/__init__.py @@ -242,13 +242,13 @@ class TaggableViewTestCaseMixin: ) self.assertTrue( - 'submit_url_name' in context, - msg='Expecting the context for taggable to contain \'submit_url_name\' attribute' + 'submit_url' in context, + msg='Expecting the context for taggable to contain \'submit_url\' attribute' ) self.assertTrue( - type(context['submit_url_name']) == str, - msg='Expecting submit_url_name to be of type string' + type(context['submit_url']) == str, + msg='Expecting submit_url to be of type string' ) self.assertTrue(