mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 06:15:02 +01:00
Compare commits
2 Commits
4004515967
...
7de1084f60
Author | SHA1 | Date | |
---|---|---|---|
7de1084f60 | |||
6b78e82fe9 |
@ -371,3 +371,6 @@ def test_post_collections_invalid_page(client):
|
|||||||
response = client.simulate_post("/collections", json=request_body)
|
response = client.simulate_post("/collections", json=request_body)
|
||||||
|
|
||||||
assert response.status_code == 400
|
assert response.status_code == 400
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set sw=4 ts=4 expandtab:
|
||||||
|
@ -371,3 +371,6 @@ def test_post_communities_invalid_page(client):
|
|||||||
response = client.simulate_post("/communities", json=request_body)
|
response = client.simulate_post("/communities", json=request_body)
|
||||||
|
|
||||||
assert response.status_code == 400
|
assert response.status_code == 400
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set sw=4 ts=4 expandtab:
|
||||||
|
@ -43,3 +43,6 @@ def test_get_status(client):
|
|||||||
|
|
||||||
assert isinstance(response.content, bytes)
|
assert isinstance(response.content, bytes)
|
||||||
assert response.status_code == 200
|
assert response.status_code == 200
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set sw=4 ts=4 expandtab:
|
||||||
|
@ -371,3 +371,6 @@ def test_post_items_invalid_page(client):
|
|||||||
response = client.simulate_post("/items", json=request_body)
|
response = client.simulate_post("/items", json=request_body)
|
||||||
|
|
||||||
assert response.status_code == 400
|
assert response.status_code == 400
|
||||||
|
|
||||||
|
|
||||||
|
# vim: set sw=4 ts=4 expandtab:
|
||||||
|
Loading…
Reference in New Issue
Block a user