diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 12:10:39 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 12:10:39 -0400 |
commit | a7acfed112390500a17c8303538a176fe3c8e31d (patch) | |
tree | 3351d0fd097968df031d1bdbf0643880e8a65115 /test | |
parent | 0686f8453036455539e7d34697b73638fa8c1087 (diff) | |
download | python-coveragepy-a7acfed112390500a17c8303538a176fe3c8e31d.tar.gz |
Refactor common code in config.py, and start testing the new options.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_config.py b/test/test_config.py index f4bd65b..d29ab3d 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -102,6 +102,7 @@ class ConfigFileTest(CoverageTest): branch = 1 cover_pylib = TRUE parallel = on + include = a/ , b/ [report] ; these settings affect reporting. @@ -136,6 +137,7 @@ class ConfigFileTest(CoverageTest): ["if 0:", "pragma:?\s+no cover", "another_tab"] ) self.assertTrue(cov.config.ignore_errors) + self.assertEqual(cov.config.include_prefixes, ["a/", "b/"]) self.assertEqual(cov.config.omit_prefixes, ["one", "another", "some_more", "yet_more"] ) |