mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
17170 fixes
This commit is contained in:
parent
c7cb869f08
commit
31dd76559a
@ -170,7 +170,7 @@ class ContactTest(APIViewTestCases.APIViewTestCase):
|
|||||||
model = Contact
|
model = Contact
|
||||||
brief_fields = ['description', 'display', 'id', 'name', 'url']
|
brief_fields = ['description', 'display', 'id', 'name', 'url']
|
||||||
bulk_update_data = {
|
bulk_update_data = {
|
||||||
'group': None,
|
'groups': None,
|
||||||
'comments': 'New comments',
|
'comments': 'New comments',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,7 +203,6 @@ class ContactTestCase(ViewTestCases.PrimaryObjectViewTestCase):
|
|||||||
Contact.objects.bulk_create(contacts)
|
Contact.objects.bulk_create(contacts)
|
||||||
contacts[0].groups.add(contact_groups[0])
|
contacts[0].groups.add(contact_groups[0])
|
||||||
contacts[1].groups.add(contact_groups[1])
|
contacts[1].groups.add(contact_groups[1])
|
||||||
contacts[2].groups.add(contact_groups[2])
|
|
||||||
|
|
||||||
tags = create_tags('Alpha', 'Bravo', 'Charlie')
|
tags = create_tags('Alpha', 'Bravo', 'Charlie')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user