Tweak passing of tags

This commit is contained in:
Jeremy Stretch 2020-08-18 12:37:07 -04:00
parent 0bfb64dc09
commit 5629124755

View File

@ -36,7 +36,7 @@ class ChangeLogViewTest(ModelViewTestCase):
'slug': 'test-site-1',
'status': SiteStatusChoices.STATUS_ACTIVE,
'cf_my_field': 'ABC',
'tags': [tag.pk for tag in tags],
'tags': list(tags),
}
request = {
@ -69,7 +69,7 @@ class ChangeLogViewTest(ModelViewTestCase):
'slug': 'test-site-x',
'status': SiteStatusChoices.STATUS_PLANNED,
'cf_my_field': 'DEF',
'tags': [tag3.pk],
'tags': [tag3],
}
request = {