mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
12589 fix friggin test case
This commit is contained in:
parent
846eef1668
commit
dd70ba9470
@ -17,6 +17,11 @@ from utilities.testing import ViewTestCases, TestCase
|
|||||||
class UserTestCase(ViewTestCases.UserViewTestCase):
|
class UserTestCase(ViewTestCases.UserViewTestCase):
|
||||||
model = NetBoxUser
|
model = NetBoxUser
|
||||||
|
|
||||||
|
def setUp(self):
|
||||||
|
get_user_model().objects.create_user(username='dummyuser1')
|
||||||
|
get_user_model().objects.create_user(username='dummyuser2')
|
||||||
|
super().setUp()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpTestData(cls):
|
def setUpTestData(cls):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user