1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 23:59:45 +02:00

Remove former profile image upon new upload (#381)

* Remove former profile image upon new upload

* Fix test
This commit is contained in:
sephrat 2021-05-01 23:35:46 +02:00 committed by GitHub
parent fad2f8da59
commit 52e5e9da5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 6 deletions

View file

@ -47,8 +47,13 @@ def api_routes():
@fixture(scope="session")
def test_image():
return TEST_DATA.joinpath("test_image.jpg")
def test_image_jpg():
return TEST_DATA.joinpath("images", "test_image.jpg")
@fixture(scope="session")
def test_image_png():
return TEST_DATA.joinpath("images", "test_image.png")
@fixture(scope="session")