generated from Luis/nextjs-python-web-template
all nix fmt good
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user