summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-09-25 06:40:09 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-09-25 06:40:09 -0400
commitbee4695b9dd3ac9aee5d2dc2746a49a37aae0742 (patch)
tree6d062b7fbd51f987fac3f9e7170dbae26da5fd95 /tests/test_config.py
parent7b5457967f256696d3b6c936e81436aa60b4b409 (diff)
downloadpython-coveragepy-git-bee4695b9dd3ac9aee5d2dc2746a49a37aae0742.tar.gz
Some error checking and more tests for concurrency control.
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index bf84423d..4c8735d2 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