Georg-Stahn-georgs #25

Merged
Luis merged 52 commits from Georg-Stahn-georgs into main 2023-12-02 11:57:44 +00:00
Showing only changes of commit 0274b2f33e - Show all commits

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",