def test_email_validation(self):
    with self.assertRaises(ValueError):
        get_user_model().objects.create_user(None, 'test123')
def test_email_validation(self):
    with self.assertRaises(ValueError):
        get_user_model().objects.create_user(None, 'test123')