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 0f7b5e396f - Show all commits

View File

@@ -1,4 +1,3 @@
import json
from typing import Any
from api import TestClient
@@ -30,7 +29,7 @@ def make_test_post_and_get(
# test post
response = api.post(
f"/api/{apiversion}/create_{paramter}",
data={"data": json.dumps(request_body)},
json=request_body,
headers={"Content-Type": "application/json"},
)
assert response.status_code == 200