Skip to content
Snippets Groups Projects
Commit c93b00c2 authored by Florian Spreckelsen's avatar Florian Spreckelsen Committed by Henrik tom Wörden
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 4dc6d724
Branches
Tags
2 merge requests!123REL: Release v0.6.0,!117ENH: detect circular dependencies
Pipeline #37038 canceled
...@@ -879,5 +879,6 @@ def test_detect_circular_dependency(crawler_mocked_identifiable_retrieve, caplog ...@@ -879,5 +879,6 @@ def test_detect_circular_dependency(crawler_mocked_identifiable_retrieve, caplog
with raises(RuntimeError): with raises(RuntimeError):
_, _ = crawler.split_into_inserts_and_updates(flat) _, _ = crawler.split_into_inserts_and_updates(flat)
caplog.set_level(logging.ERROR, logger="caoscrawler.converters") caplog.set_level(logging.ERROR, logger="caoscrawler.converters")
assert "Found circular dependency" in caplog.text
assert "-------\na\n['C" in caplog.text assert "-------\na\n['C" in caplog.text
caplog.clear() caplog.clear()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment