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:
parent
5839992c19
commit
8d77f4b31e
76 changed files with 718 additions and 4056 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue