def test_user_is_valid_with_email_username_and_password_only(self): user = User(username="******", email='*****@*****.**', password="******") user.full_clean() # should not raise