diff --git a/unittests/test_crawler.py b/unittests/test_crawler.py index 465c93a4e9c62ae058b0c9b3a45beb6d1507d4df..8db4e9c57e62d7c9bfe3f53df92a900b61292249 100644 --- a/unittests/test_crawler.py +++ b/unittests/test_crawler.py @@ -879,5 +879,6 @@ def test_detect_circular_dependency(crawler_mocked_identifiable_retrieve, caplog with raises(RuntimeError): _, _ = crawler.split_into_inserts_and_updates(flat) caplog.set_level(logging.ERROR, logger="caoscrawler.converters") + assert "Found circular dependency" in caplog.text assert "-------\na\n['C" in caplog.text caplog.clear()