mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 16:18:16 -06:00
17289 fix tests
This commit is contained in:
parent
85229faad0
commit
d6f477599d
@ -38,8 +38,8 @@ class UserTestCase(
|
||||
'first_name': 'firstx',
|
||||
'last_name': 'lastx',
|
||||
'email': 'userx@foo.com',
|
||||
'password': 'pass1xxx',
|
||||
'confirm_password': 'pass1xxx',
|
||||
'password': 'pass1xxxABCD',
|
||||
'confirm_password': 'pass1xxxABCD',
|
||||
}
|
||||
|
||||
cls.csv_data = (
|
||||
@ -84,8 +84,8 @@ class UserTestCase(
|
||||
self.assertHttpStatus(response, 200)
|
||||
|
||||
# Password long enough
|
||||
data['password'] = 'foobar123'
|
||||
data['confirm_password'] = 'foobar123'
|
||||
data['password'] = 'foobar123AD'
|
||||
data['confirm_password'] = 'foobar123AD'
|
||||
self.assertHttpStatus(self.client.post(**request), 302)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user