mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 15:31:28 +00:00
tests: add success check
This commit is contained in:
parent
7c68f05040
commit
1640ed44f6
|
@ -136,3 +136,4 @@ def test_graphql_nix_collect_garbage(authorized_client):
|
||||||
assert response.json()["data"]["nixCollectGarbage"]["success"] is True
|
assert response.json()["data"]["nixCollectGarbage"]["success"] is True
|
||||||
assert response.json()["data"]["nixCollectGarbage"]["message"] is not None
|
assert response.json()["data"]["nixCollectGarbage"]["message"] is not None
|
||||||
assert response.json()["data"]["nixCollectGarbage"]["code"] == 200
|
assert response.json()["data"]["nixCollectGarbage"]["code"] == 200
|
||||||
|
assert response.json()["data"]["nixCollectGarbage"]["success"] == True
|
||||||
|
|
Loading…
Reference in a new issue