mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
removed temp test
This commit is contained in:
parent
e409af7ba0
commit
0e48de0157
1 changed files with 7 additions and 7 deletions
|
@ -31,16 +31,16 @@ def test_create_no_image(api_client):
|
||||||
assert json.loads(response.text) == "banana-bread-no-image"
|
assert json.loads(response.text) == "banana-bread-no-image"
|
||||||
|
|
||||||
|
|
||||||
def test_upload_image(api_client, test_image):
|
# def test_upload_image(api_client, test_image):
|
||||||
data = {"image": test_image.open("rb").read(), "extension": "jpg"}
|
# data = {"image": test_image.open("rb").read(), "extension": "jpg"}
|
||||||
|
|
||||||
response = api_client.post(
|
# response = api_client.post(
|
||||||
"/api/recipe/banana-bread-no-image/update/image/", files=data
|
# "/api/recipe/banana-bread-no-image/update/image/", files=data
|
||||||
)
|
# )
|
||||||
|
|
||||||
assert response.status_code == 200
|
# assert response.status_code == 200
|
||||||
|
|
||||||
response = api_client.get("/api/recipe/banana-bread-no-image/update/image/")
|
# response = api_client.get("/api/recipe/banana-bread-no-image/update/image/")
|
||||||
|
|
||||||
|
|
||||||
def test_read_all_post(api_client):
|
def test_read_all_post(api_client):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue