mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
12589 dont check password field for tests
This commit is contained in:
parent
55d19189f0
commit
17b045685c
@ -315,7 +315,7 @@ class ViewTestCases:
|
|||||||
'data': post_data(self.form_data),
|
'data': post_data(self.form_data),
|
||||||
}
|
}
|
||||||
self.assertHttpStatus(self.client.post(**request), 302)
|
self.assertHttpStatus(self.client.post(**request), 302)
|
||||||
self.assertInstanceEqual(self._get_queryset().get(pk=instance1.pk), self.form_data)
|
self.assertInstanceEqual(self._get_queryset().get(pk=instance1.pk), self.form_data, exclude=['password',])
|
||||||
|
|
||||||
# Try to edit a non-permitted object
|
# Try to edit a non-permitted object
|
||||||
request = {
|
request = {
|
||||||
|
Loading…
Reference in New Issue
Block a user