diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-25 06:40:09 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-09-25 06:40:09 -0400 |
| commit | fe9ea16b667d2a89d94f09b52c58b54e209874c2 (patch) | |
| tree | 10c82eec6405690ce91bd8c9636c30522ebb74eb /tests/test_config.py | |
| parent | ea3b37c5b62d835ab301d7f35da72d3e4b2f3292 (diff) | |
| download | python-coveragepy-fe9ea16b667d2a89d94f09b52c58b54e209874c2.tar.gz | |
Some error checking and more tests for concurrency control.
Diffstat (limited to 'tests/test_config.py')
| -rw-r--r-- | tests/test_config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index bf84423..4c8735d 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -144,6 +144,7 @@ class ConfigFileTest(CoverageTest): cover_pylib = TRUE parallel = on include = a/ , b/ + concurrency = thread plugins = plugins.a_plugin plugins.another @@ -210,6 +211,7 @@ class ConfigFileTest(CoverageTest): self.assertTrue(cov.config.branch) self.assertTrue(cov.config.cover_pylib) self.assertTrue(cov.config.parallel) + self.assertEqual(cov.config.concurrency, "thread") self.assertEqual(cov.get_exclude_list(), ["if 0:", r"pragma:?\s+no cover", "another_tab"] @@ -274,7 +276,7 @@ class ConfigFileTest(CoverageTest): self.assertEqual(cov.config.omit, None) self.assertEqual(cov.config.branch, False) - def test_one(self): + def test_non_ascii(self): self.make_file(".coveragerc", """\ [html] title = tabblo & «ταБЬℓσ» # numbers |
