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 | 128e1985c1d0f958dfda551f92fc858c1989777f (patch) | |
tree | cdfaea81a88179fb5bd32088a2cc0456d21ab78a /test/test_config.py | |
parent | 2062c0973a8e4fb7717cd5b1276cf6d9b231eed0 (diff) | |
download | python-coveragepy-git-128e1985c1d0f958dfda551f92fc858c1989777f.tar.gz |
Refactor common code in config.py, and start testing the new options.
Diffstat (limited to 'test/test_config.py')
-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 f4bd65bf..d29ab3d7 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"] ) |