diff --git a/tests/contrib.print_proxy.mapfish_print/test_mapfish_print_configuration.py b/tests/contrib.print_proxy.mapfish_print/test_mapfish_print_configuration.py index d03f26f08d..06146040fa 100644 --- a/tests/contrib.print_proxy.mapfish_print/test_mapfish_print_configuration.py +++ b/tests/contrib.print_proxy.mapfish_print/test_mapfish_print_configuration.py @@ -108,6 +108,6 @@ def test_toc_pages_default_config(): compute_toc_pages = Config.get('print', {}).get('compute_toc_pages') default_toc_length = Config.get('print', {}).get('default_toc_length') - assert compute_toc_pages == False + assert isinstance(compute_toc_pages,bool) + assert bool(compute_toc_pages) == False assert default_toc_length == 2 -