diff --git a/unittests/test_crawler.py b/unittests/test_crawler.py index b45a70e42d51479099f6fbb2c7f911ff01e2b25e..465c93a4e9c62ae058b0c9b3a45beb6d1507d4df 100644 --- a/unittests/test_crawler.py +++ b/unittests/test_crawler.py @@ -876,7 +876,7 @@ def test_detect_circular_dependency(crawler_mocked_identifiable_retrieve, caplog with raises(Exception): detect_circular_dependency([d]) - with raises(Exception): + with raises(RuntimeError): _, _ = crawler.split_into_inserts_and_updates(flat) caplog.set_level(logging.ERROR, logger="caoscrawler.converters") assert "-------\na\n['C" in caplog.text