mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
feat(backend): 🚧 stub out new exporter service (WIP) (#715)
* chore(backend): 🎨 add isort path to vscode settings * style(frontend): 💄 remove fab and add general create button * feat(backend): 🚧 stub out new exporter service * comment out stub tests Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
parent
476aefeeb0
commit
4bdba9f3af
26 changed files with 714 additions and 50 deletions
8
tests/unit_tests/test_recipe_export_types.py
Normal file
8
tests/unit_tests/test_recipe_export_types.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from mealie.services.recipe.template_service import TemplateService, TemplateType
|
||||
|
||||
|
||||
def test_recipe_export_types() -> None:
|
||||
ts = TemplateService()
|
||||
assert ts.template_type("recipes.md") == TemplateType.jinja2.value
|
||||
assert ts.template_type("raw") == TemplateType.json.value
|
||||
assert ts.template_type("zip") == TemplateType.zip.value
|
Loading…
Add table
Add a link
Reference in a new issue