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
cc3c64c97e
commit
55d19189f0
@ -278,7 +278,7 @@ class ViewTestCases:
|
||||
'data': post_data(self.form_data),
|
||||
}
|
||||
self.assertHttpStatus(self.client.post(**request), 302)
|
||||
self.assertInstanceEqual(self._get_queryset().get(pk=instance.pk), self.form_data)
|
||||
self.assertInstanceEqual(self._get_queryset().get(pk=instance.pk), self.form_data, exclude=['password',])
|
||||
|
||||
if hasattr(self.model, "to_objectchange"):
|
||||
# Verify ObjectChange creation
|
||||
|
Loading…
Reference in New Issue
Block a user