diff --git a/pkgs/clan-cli/tests/test_db_api.py b/pkgs/clan-cli/tests/test_db_api.py index 589d52b..581ef7c 100644 --- a/pkgs/clan-cli/tests/test_db_api.py +++ b/pkgs/clan-cli/tests/test_db_api.py @@ -6,7 +6,7 @@ default_entity_did_url = "entity_did=did%3Asov%3Atest%3A1234" default_entity_did = "did:sov:test:1234" -def assert_extra_info(infos, request_body, response) -> None: +def assert_extra_info(infos: list(), request_body: dict(), response: dict()) -> None: for info in infos: assert info in response.keys() # TODO maybe check the content of the extra info ... @@ -15,7 +15,7 @@ def assert_extra_info(infos, request_body, response) -> None: def make_test_post_and_get( - api, request_body, paramter, get_request=default_entity_did_url, apiversion="v1" + api: TestClient, request_body: dict(), paramter: str, get_request=default_entity_did_url: str, apiversion="v1": str ) -> None: # test post response = api.post(