diff --git a/unittests/test_crawler.py b/unittests/test_crawler.py index 7c592b434fe75f61b4076f91ccd0c3ce61227d1a..f28cd897fe9f1c31b1d13648f19356066a58ed8e 100644 --- a/unittests/test_crawler.py +++ b/unittests/test_crawler.py @@ -874,7 +874,7 @@ def test_detect_circular_dependency(crawler_mocked_identifiable_retrieve, caplog circle = Crawler.detect_circular_dependency(flat) assert [id(el) for el in circle] == [id(el) for el in [a, c, b, a]] - assert detect_circular_dependency([d]) is None + assert Crawler.detect_circular_dependency([d]) is None with raises(RuntimeError): _, _ = crawler.split_into_inserts_and_updates(flat) caplog.set_level(logging.ERROR, logger="caoscrawler.converters")