mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Tweak passing of tags
This commit is contained in:
@@ -36,7 +36,7 @@ class ChangeLogViewTest(ModelViewTestCase):
|
|||||||
'slug': 'test-site-1',
|
'slug': 'test-site-1',
|
||||||
'status': SiteStatusChoices.STATUS_ACTIVE,
|
'status': SiteStatusChoices.STATUS_ACTIVE,
|
||||||
'cf_my_field': 'ABC',
|
'cf_my_field': 'ABC',
|
||||||
'tags': [tag.pk for tag in tags],
|
'tags': list(tags),
|
||||||
}
|
}
|
||||||
|
|
||||||
request = {
|
request = {
|
||||||
@@ -69,7 +69,7 @@ class ChangeLogViewTest(ModelViewTestCase):
|
|||||||
'slug': 'test-site-x',
|
'slug': 'test-site-x',
|
||||||
'status': SiteStatusChoices.STATUS_PLANNED,
|
'status': SiteStatusChoices.STATUS_PLANNED,
|
||||||
'cf_my_field': 'DEF',
|
'cf_my_field': 'DEF',
|
||||||
'tags': [tag3.pk],
|
'tags': [tag3],
|
||||||
}
|
}
|
||||||
|
|
||||||
request = {
|
request = {
|
||||||
|
Reference in New Issue
Block a user