def test_check_password(self): user = User(password="******") assert user.password != "test" assert not user.check_password("test!") assert user.check_password("test")
def test_check_password(self): user = User(password="******") assert user.password != "test" assert not user.check_password("test!") assert user.check_password("test")
def test_check_password_if_password_none(self): user = User() assert not user.check_password("test")
def test_check_password_if_password_none(self): user = User() assert not user.check_password("test")