mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
Adjusted test data to be consistent with its neighbors
This commit is contained in:
parent
85991014fd
commit
fc622470d6
@ -193,7 +193,7 @@ class ScriptVariablesTest(TestCase):
|
||||
var1 = IPAddressVar()
|
||||
|
||||
# Validate IP address enforcement
|
||||
data = {'var1': '1.2.3.2555'}
|
||||
data = {'var1': '1.2.3'}
|
||||
form = TestScript().as_form(data, None)
|
||||
self.assertFalse(form.is_valid())
|
||||
self.assertIn('var1', form.errors)
|
||||
|
Loading…
Reference in New Issue
Block a user