all nix fmt good
Some checks failed
checks-impure / test (pull_request) Successful in 30s
checks / test (pull_request) Failing after 2m16s

This commit is contained in:
Georg-Stahn
2023-11-30 21:49:07 +01:00
parent 3f76726c3b
commit 0274b2f33e

View File

@@ -1,5 +1,5 @@
import json import json
from typing import Collection, Iterable, Mapping, Union from typing import Any
from api import TestClient from api import TestClient
@@ -9,11 +9,7 @@ default_entity_did = "did:sov:test:1234"
def assert_extra_info( def assert_extra_info(
infos: list[str], infos: list[str],
request_body: Union[ request_body: dict[str, Any],
dict[str, object],
dict[str, Collection[str]],
Mapping[str, Union[str, Iterable[str]]],
],
response: dict[str, str], response: dict[str, str],
) -> None: ) -> None:
# print(type()) # print(type())
@@ -26,11 +22,7 @@ def assert_extra_info(
def make_test_post_and_get( def make_test_post_and_get(
api: TestClient, api: TestClient,
request_body: Union[ request_body: dict[str, Any],
dict[str, object],
dict[str, Collection[str]],
Mapping[str, Union[str, Iterable[str]]],
],
paramter: str, paramter: str,
get_request: str = default_entity_did_url, get_request: str = default_entity_did_url,
apiversion: str = "v1", apiversion: str = "v1",