Change status code of 'AA not assigned to group'
This commit is contained in:
@@ -99,8 +99,7 @@ def test_unassign_nonexistent_assignment(client, auth_headers, test_group, test_
|
||||
f"/aa/unassign/{test_group.id}/{test_aa.id}",
|
||||
headers=auth_headers
|
||||
)
|
||||
# According to the code, this returns 200 with "not assigned" message
|
||||
assert response.status_code == 200
|
||||
assert response.status_code == 404
|
||||
|
||||
|
||||
def test_assign_to_nonexistent_group(client, auth_headers, test_aa):
|
||||
|
||||
Reference in New Issue
Block a user