Skip to content

Commit

Permalink
Update UsersTestCase to specifically test for the returned custom model
Browse files Browse the repository at this point in the history
  • Loading branch information
markkuleinio committed Dec 5, 2021
1 parent a94134e commit 1d0d6e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class UsersTestCase(Generic.Tests):
)
def test_repr(self, _):
test = nb.users.get(1)
self.assertEqual(type(test), pynetbox.models.users.Users)
self.assertEqual(str(test), "user1")


Expand Down

0 comments on commit 1d0d6e1

Please sign in to comment.