def test_user_confirmed(self): AccountProcessor.is_user_confirmed('*****@*****.**') assert True
def test_user_not_confirmed(self): with pytest.raises(Exception): AccountProcessor.is_user_confirmed('sd')