mirror of
https://github.com/fspc/workstand.git
synced 2025-04-04 10:03:22 -04:00
Cleanup unneeded variables.
This commit is contained in:
parent
dae8a8f411
commit
aad374941b
@ -10,8 +10,8 @@ class TestCustomUserManager(TestCase):
|
|||||||
self.assertTrue(new_user.pk)
|
self.assertTrue(new_user.pk)
|
||||||
|
|
||||||
def test_create_user_no_email(self):
|
def test_create_user_no_email(self):
|
||||||
with self.assertRaises(ValueError) as context_manager:
|
with self.assertRaises(ValueError):
|
||||||
new_user = CustomUser.objects.create_user(email=None)
|
CustomUser.objects.create_user(email=None)
|
||||||
|
|
||||||
def test_create_superuser(self):
|
def test_create_superuser(self):
|
||||||
new_user = CustomUser.objects\
|
new_user = CustomUser.objects\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user