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

feat: Paprika/Mealie Migration support (#873)

* feat:  paprika support - partial

* feat:  add full paprika support

* re-organize data directory

* add data directory auto-gen

* rewrite migration tests

* remove print statements

* remove hard-coded paths

* add auto-tag support

* add mealie migration support

* add looking for migraiton button
This commit is contained in:
Hayden 2021-12-09 19:52:53 -09:00 committed by GitHub
parent 5839992c19
commit 8d77f4b31e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 718 additions and 4056 deletions

View file

@ -6,8 +6,8 @@ from pytest import fixture
from mealie.app import app
from mealie.db.db_setup import SessionLocal, generate_session
from mealie.db.init_db import main
from tests import data as test_data
from tests.fixtures import * # noqa: F403 F401
from tests.test_config import TEST_DATA
main()
@ -35,9 +35,9 @@ def api_client():
@fixture(scope="session")
def test_image_jpg():
return TEST_DATA.joinpath("images", "test_image.jpg")
return test_data.images_test_image_1
@fixture(scope="session")
def test_image_png():
return TEST_DATA.joinpath("images", "test_image.png")
return test_data.images_test_image_2