generated from Luis/nextjs-python-web-template
added c2 and more services +4
This commit is contained in:
@@ -84,6 +84,7 @@ def test_producer(api: TestClient) -> None:
|
||||
# get_request = "entity_did=did%3Asov%3Atest%3A1234"
|
||||
make_test_post_and_get(api, request_body, paramter)
|
||||
|
||||
|
||||
def test_producer2(api: TestClient) -> None:
|
||||
request_body = {
|
||||
"uuid": "8e285c0c-4e40-430a-a477-26b3b81e30d1",
|
||||
@@ -98,6 +99,7 @@ def test_producer2(api: TestClient) -> None:
|
||||
get_request = "entity_did=" + url.quote(default_entity_did2)
|
||||
make_test_post_and_get(api, request_body, paramter, get_request)
|
||||
|
||||
|
||||
def test_producer3(api: TestClient) -> None:
|
||||
request_body = {
|
||||
"uuid": "8e285c0c-4e40-430a-a477-26b3b81e30d2",
|
||||
@@ -143,7 +145,6 @@ def test_producer5(api: TestClient) -> None:
|
||||
make_test_post_and_get(api, request_body, paramter, get_request)
|
||||
|
||||
|
||||
|
||||
#########################
|
||||
# #
|
||||
# Consumer #
|
||||
@@ -159,6 +160,7 @@ def test_consumer(api: TestClient) -> None:
|
||||
# get_request = "entity_did=did%3Asov%3Atest%3A1234"
|
||||
make_test_post_and_get(api, request_body, paramter)
|
||||
|
||||
|
||||
def test_consumer2(api: TestClient) -> None:
|
||||
request_body = {
|
||||
"entity_did": default_entity_did2,
|
||||
@@ -169,6 +171,7 @@ def test_consumer2(api: TestClient) -> None:
|
||||
get_request = "entity_did=" + url.quote(default_entity_did2)
|
||||
make_test_post_and_get(api, request_body, paramter, get_request)
|
||||
|
||||
|
||||
#########################
|
||||
# #
|
||||
# REPOSITORY #
|
||||
@@ -187,6 +190,8 @@ def test_repository(api: TestClient) -> None:
|
||||
paramter = "repository"
|
||||
# get_request = "entity_did=did%3Asov%3Atest%3A1234"
|
||||
make_test_post_and_get(api, request_body, paramter)
|
||||
|
||||
|
||||
def test_repository2(api: TestClient) -> None:
|
||||
request_body = {
|
||||
"uuid": "8e285c0c-4e40-430a-a477-26b3b81e30d1",
|
||||
@@ -201,6 +206,7 @@ def test_repository2(api: TestClient) -> None:
|
||||
get_request = "entity_did=" + url.quote(default_entity_did2)
|
||||
make_test_post_and_get(api, request_body, paramter, get_request)
|
||||
|
||||
|
||||
def test_repository3(api: TestClient) -> None:
|
||||
request_body = {
|
||||
"uuid": "8e285c0c-4e40-430a-a477-26b3b81e30d2",
|
||||
@@ -246,7 +252,6 @@ def test_repository5(api: TestClient) -> None:
|
||||
make_test_post_and_get(api, request_body, paramter, get_request)
|
||||
|
||||
|
||||
|
||||
#########################
|
||||
# #
|
||||
# Entity #
|
||||
@@ -264,6 +269,7 @@ def test_entity(api: TestClient) -> None:
|
||||
# get_request = "entity_did=did%3Asov%3Atest%3A1234"
|
||||
make_test_post_and_get(api, request_body, paramter)
|
||||
|
||||
|
||||
def test_entity2(api: TestClient) -> None:
|
||||
request_body = {
|
||||
"did": default_entity_did2,
|
||||
|
||||
Reference in New Issue
Block a user