Skip to content
Snippets Groups Projects
Commit 89585e1f authored by Rémi's avatar Rémi
Browse files

test: fix

parent 9ca7dc88
No related branches found
No related tags found
1 merge request!1sty: fixes
Pipeline #265057 failed
......@@ -119,7 +119,7 @@ def test_item_collection():
for relative in [True, False]:
with tempfile.NamedTemporaryFile() as tmp:
generate_item_collection(tmp.name, relative=relative)
handler.publish(tmp.name)
handler.load_and_publish(tmp.name)
def test_collection():
......@@ -127,7 +127,7 @@ def test_collection():
for relative in [True, False]:
with tempfile.TemporaryDirectory() as tmpdir:
generate_collection(tmpdir, relative=relative)
handler.publish(os.path.join(tmpdir, "collection.json"))
handler.load_and_publish(os.path.join(tmpdir, "collection.json"))
def test_all():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment