summaryrefslogtreecommitdiff
path: root/test/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-05-23 16:09:44 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-05-23 16:09:44 -0400
commit039345d5c311d5d55ee6c93554959fd5685a862c (patch)
treef11ae9cf490e2550d8d8072de6a1ac0bf72549d8 /test/test_config.py
parent762d67689a8ddc88195cdbb0787bc3e940ddbf85 (diff)
downloadpython-coveragepy-git-039345d5c311d5d55ee6c93554959fd5685a862c.tar.gz
Omit and include are now filename patterns rather than prefixes. BACKWARD INCOMPATIBLE change.
Diffstat (limited to 'test/test_config.py')
-rw-r--r--test/test_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_config.py b/test/test_config.py
index d29ab3d7..96b87650 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -137,8 +137,8 @@ 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,
+ self.assertEqual(cov.config.include, ["a/", "b/"])
+ self.assertEqual(cov.config.omit,
["one", "another", "some_more", "yet_more"]
)