mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Tweak test to generate expected number of change records
This commit is contained in:
parent
5bed9e8667
commit
7470147c1a
@ -1108,6 +1108,10 @@ class VLANTranslationRuleTest(APIViewTestCases.APIViewTestCase):
|
|||||||
name='Policy 2',
|
name='Policy 2',
|
||||||
description='foobar2',
|
description='foobar2',
|
||||||
),
|
),
|
||||||
|
VLANTranslationPolicy(
|
||||||
|
name='Policy 3',
|
||||||
|
description='foobar2',
|
||||||
|
),
|
||||||
)
|
)
|
||||||
VLANTranslationPolicy.objects.bulk_create(vlan_translation_policies)
|
VLANTranslationPolicy.objects.bulk_create(vlan_translation_policies)
|
||||||
|
|
||||||
@ -1152,7 +1156,8 @@ class VLANTranslationRuleTest(APIViewTestCases.APIViewTestCase):
|
|||||||
]
|
]
|
||||||
|
|
||||||
cls.bulk_update_data = {
|
cls.bulk_update_data = {
|
||||||
'policy': vlan_translation_policies[1].pk,
|
'policy': vlan_translation_policies[2].pk,
|
||||||
|
'description': 'New description',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user