mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
test(backend): ✅ add @skip for crf tests that can only run locally
This commit is contained in:
parent
d24e95c091
commit
165fd8efd6
@ -1,6 +1,8 @@
|
|||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from fractions import Fraction
|
from fractions import Fraction
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
from mealie.services.scraper.ingredient_nlp.processor import CRFIngredient, convert_list_to_crf_model
|
from mealie.services.scraper.ingredient_nlp.processor import CRFIngredient, convert_list_to_crf_model
|
||||||
|
|
||||||
|
|
||||||
@ -18,6 +20,7 @@ test_ingredients = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skip
|
||||||
def test_nlp_parser():
|
def test_nlp_parser():
|
||||||
models: list[CRFIngredient] = convert_list_to_crf_model([x.input for x in test_ingredients])
|
models: list[CRFIngredient] = convert_list_to_crf_model([x.input for x in test_ingredients])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user