Changes in MapContext

This commit is contained in:
reverend 2021-06-25 11:04:18 +02:00
parent 0fe98d4f8f
commit ab669b9f5e

View File

@ -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(