mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -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"
|
||||
|
||||
|
||||
def test_upload_image(api_client, test_image):
|
||||
data = {"image": test_image.open("rb").read(), "extension": "jpg"}
|
||||
# def test_upload_image(api_client, test_image):
|
||||
# data = {"image": test_image.open("rb").read(), "extension": "jpg"}
|
||||
|
||||
response = api_client.post(
|
||||
"/api/recipe/banana-bread-no-image/update/image/", files=data
|
||||
)
|
||||
# response = api_client.post(
|
||||
# "/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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue