From ab669b9f5e591f0b266deb92feb16592d93ed8b9 Mon Sep 17 00:00:00 2001 From: reverend Date: Fri, 25 Jun 2021 11:04:18 +0200 Subject: [PATCH] Changes in MapContext --- django_lostplaces/lostplaces/tests/views/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(