Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Nov 19, 2024
1 parent 4973fbb commit d456f9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rdmo/projects/tests/test_viewset_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,10 @@ def test_upload_accept(db, client, username, password):

if password:
assert response.status_code == 200
assert response.json() == '.xml'
assert response.json() == {
'application/xml': ['.xml'],
'text/xml': ['.xml']
}
else:
assert response.status_code == 401

Expand Down

0 comments on commit d456f9f

Please sign in to comment.