tests: add success check

This commit is contained in:
dettlaff 2023-08-07 06:24:48 +04:00
parent 7c68f05040
commit 1640ed44f6
2 changed files with 1 additions and 0 deletions

BIN
dump.rdb

Binary file not shown.

View file

@ -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"]["message"] is not None
assert response.json()["data"]["nixCollectGarbage"]["code"] == 200
assert response.json()["data"]["nixCollectGarbage"]["success"] == True