mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	test(backend): ✅ add @skip for crf tests that can only run locally
This commit is contained in:
		| @@ -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]) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user