downgraded recipe scrapers to pass tests for now

This commit is contained in:
vabene1111
2024-04-05 21:18:01 +02:00
parent d7669279ff
commit c031db9019
2 changed files with 2 additions and 1 deletions

View File

@@ -156,6 +156,7 @@ def test_url_import_regex_replace(u1_s1):
if 'cookbook' in os.getcwd():
test_file = os.path.join(os.getcwd(), 'other', 'test_data', recipe)
# TODO this catch doesn't really work depending on from where you start the test, must check for duplicate path sections
else:
test_file = os.path.join(os.getcwd(), 'cookbook', 'tests', 'other', 'test_data', recipe)
with open(test_file, 'r', encoding='UTF-8') as d: