1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6732 - Fix ASN tests

This commit is contained in:
Daniel Sheppard
2021-10-28 11:49:21 -05:00
parent ada81e31c9
commit 3c261b05d9
5 changed files with 72 additions and 28 deletions

View File

@@ -46,8 +46,8 @@ class ASNTestCase(ViewTestCases.PrimaryObjectViewTestCase):
cls.form_data = {
'asn': 64512,
'rir': rirs[0].pk,
'tenant': tenants[0],
'site': sites[0],
'tenant': tenants[0].pk,
'site': sites[0].pk,
'description': 'A new ASN',
}
@@ -55,7 +55,7 @@ class ASNTestCase(ViewTestCases.PrimaryObjectViewTestCase):
"asn,rir",
"64533,RFC 6996",
"64523,RFC 6996",
"64513,RFC 6996",
"4200000002,RFC 6996",
)
cls.bulk_edit_data = {