mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
* fixes #625 * update dependencies * bump version * fix failing tests Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
bf06482b29
commit
940663a22d
14 changed files with 214 additions and 193 deletions
|
@ -80,7 +80,7 @@ def test_cleaner_instructions(instructions):
|
|||
def test_html_with_recipe_data():
|
||||
path = TEST_RAW_HTML.joinpath("healthy_pasta_bake_60759.html")
|
||||
url = "https://www.bbc.co.uk/food/recipes/healthy_pasta_bake_60759"
|
||||
recipe_data = open_graph.basic_recipe_from_opengraph(open(path, encoding="utf8").read(), url)
|
||||
recipe_data = open_graph.basic_recipe_from_opengraph(path.read_text(), url)
|
||||
|
||||
assert len(recipe_data["name"]) > 10
|
||||
assert len(recipe_data["slug"]) > 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue