diff options
Diffstat (limited to 'tests/test_config.py')
-rw-r--r-- | tests/test_config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 93a7bbf6..6d6c7f80 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -235,6 +235,9 @@ class ConfigFileTest(CoverageTest): plugins.a_plugin plugins.another + [{section}combine] + ignore_errors = True + [{section}report] ; these settings affect reporting. exclude_lines = @@ -301,6 +304,8 @@ class ConfigFileTest(CoverageTest): self.assertTrue(cov.config.parallel) self.assertEqual(cov.config.concurrency, "thread") + self.assertTrue(cov.config.ignore_combine_errors) + self.assertEqual(cov.get_exclude_list(), ["if 0:", r"pragma:?\s+no cover", "another_tab"]) self.assertTrue(cov.config.ignore_errors) self.assertEqual(cov.config.include, ["a/", "b/"]) |