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