mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-04 14:03:01 +01:00
Add vim modeline to all tests
This commit is contained in:
parent
4004515967
commit
6b78e82fe9
@ -371,3 +371,5 @@ 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,5 @@ 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,5 @@ 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,5 @@ 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