add appversion & test case
This commit is contained in:
@@ -11,6 +11,7 @@ def test_users_list_for_admin(test_client,login_admin):
|
||||
response = test_client.get("/api/v1/users", headers={"Authorization": "Bearer " + login_admin})
|
||||
assert response.status_code == 200
|
||||
data = response.json()
|
||||
assert "data" in data
|
||||
assert len(data["data"]) == 3
|
||||
|
||||
def test_user_create(test_client,login_user):
|
||||
|
||||
Reference in New Issue
Block a user