From 98f38f393b954f0e99cc16303911fb5bd26f1b61 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 30 Jul 2015 19:51:08 -0400 Subject: Can't use --append and --parallel-mode together. --- tests/test_cmdline.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test_cmdline.py') diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 2044471..a379d40 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -486,6 +486,10 @@ class CmdLineTest(BaseCmdLineTest): self.command_line("run", ret=ERR) self.assertIn("Nothing to do", self.stdout()) + def test_cant_append_parallel(self): + self.command_line("run --append --parallel-mode foo.py", ret=ERR) + self.assertIn("Can't append to data files in parallel mode.", self.stdout()) + def test_xml(self): # coverage xml [-i] [--omit DIR,...] [FILE1 FILE2 ...] self.cmd_executes("xml", """\ -- cgit v1.2.1