diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-21 07:19:17 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-21 07:19:17 -0500 |
commit | 165e28cc060fa030c2cd68036ec96a0cf7dcb2f1 (patch) | |
tree | 9aff60c4211f7197ff441a0c2a2f641e59b42544 | |
parent | 02d3d97b3d055aa254daa5273683e65cb1056e5d (diff) | |
download | python-coveragepy-git-165e28cc060fa030c2cd68036ec96a0cf7dcb2f1.tar.gz |
Add an explicit test of the source= rc setting.
-rw-r--r-- | tests/test_config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 5667e930..2f32c525 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -231,6 +231,7 @@ class ConfigFileTest(CoverageTest): parallel = on include = a/ , b/ concurrency = thread + source = myapp plugins = plugins.a_plugin plugins.another @@ -300,6 +301,7 @@ class ConfigFileTest(CoverageTest): self.assertTrue(cov.config.cover_pylib) self.assertTrue(cov.config.parallel) self.assertEqual(cov.config.concurrency, "thread") + self.assertEqual(cov.config.source, ["myapp"]) self.assertEqual(cov.get_exclude_list(), ["if 0:", r"pragma:?\s+no cover", "another_tab"]) self.assertTrue(cov.config.ignore_errors) |