From 2d3759d244a5f88101e208be8c965881f227f65b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 9 Jul 2016 19:30:07 -0400 Subject: Fix the check for default values of run-affecting options, and add a test --- tests/test_cmdline.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index f2531605..3f471b88 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -450,6 +450,14 @@ class CmdLineTest(BaseCmdLineTest): .stop() .save() """) + self.cmd_executes("run --concurrency=multiprocessing foo.py", """\ + .coverage(concurrency='multiprocessing') + .erase() + .start() + .run_python_file('foo.py', ['foo.py']) + .stop() + .save() + """) def test_bad_concurrency(self): self.command_line("run --concurrency=nothing", ret=ERR) -- cgit v1.2.1