mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-26 15:54:20 -04:00
feat: Add new migration for DVO Cook'n (#5085)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
@@ -46,6 +46,8 @@ migrations_myrecipebox = CWD / "migrations/myrecipebox.csv"
|
||||
|
||||
migrations_recipekeeper = CWD / "migrations/recipekeeper.zip"
|
||||
|
||||
migrations_cookn = CWD / "migrations/cookn.zip"
|
||||
|
||||
images_test_image_1 = CWD / "images/test-image-1.jpg"
|
||||
|
||||
images_test_image_2 = CWD / "images/test-image-2.png"
|
||||
|
||||
BIN
tests/data/migrations/cookn.zip
Normal file
BIN
tests/data/migrations/cookn.zip
Normal file
Binary file not shown.
@@ -108,6 +108,12 @@ test_cases = [
|
||||
search_slug="zucchini-bread",
|
||||
nutrition_entries=set(),
|
||||
),
|
||||
MigrationTestData(
|
||||
typ=SupportedMigrations.cookn,
|
||||
archive=test_data.migrations_cookn,
|
||||
search_slug="fresh-fruit-pizza",
|
||||
nutrition_entries=set(),
|
||||
),
|
||||
]
|
||||
|
||||
test_ids = [
|
||||
@@ -120,6 +126,7 @@ test_ids = [
|
||||
"plantoeat_archive",
|
||||
"myrecipebox_csv",
|
||||
"recipekeeper_archive",
|
||||
"cookn_archive",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user