unit & interga tests
This commit is contained in:
@@ -41,6 +41,8 @@ class TestAuth:
|
||||
assert test_result.email==user_data.email
|
||||
assert test_result.direct_permissions==user_data.direct_permissions
|
||||
assert test_result.group==user_data.group
|
||||
assert not hasattr(test_result, "password") or not hasattr(test_result, "plain_password") or not hasattr(test_result, "hashed_password")
|
||||
assert not hasattr(test_result, "status")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("user_data, uuid, expected_exception,expected_status",[
|
||||
|
||||
Reference in New Issue
Block a user