diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-01-20 21:24:10 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-01-20 21:24:10 -0500 |
commit | 25c7c9c0133bc21da53aa41baae0442360d727d1 (patch) | |
tree | 520bff27127104acc7301823346fa973ced5ab34 /tests/test_config.py | |
parent | 46b123e14ba35db22282c124337b21e8d10f480f (diff) | |
download | python-coveragepy-git-25c7c9c0133bc21da53aa41baae0442360d727d1.tar.gz |
Don't confuse run-include with report-include (and also omit). Fixes #621 and #622.
Diffstat (limited to 'tests/test_config.py')
-rw-r--r-- | tests/test_config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index a9c74aa0..0b4d40b6 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -357,7 +357,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest): 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.run_omit, cov.config.report_omit) + self.assertEqual(cov.config.run_omit, ["twenty"]) self.assertEqual(cov.config.report_omit, ["one", "another", "some_more", "yet_more"]) self.assertEqual(cov.config.report_include, ["thirty"]) self.assertEqual(cov.config.precision, 3) |