From fdcc7b3d0f2507932d96e5917792cae57e62c807 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 6 Sep 2015 13:09:11 -0400 Subject: [PATCH] Test: Modified timeout values - Removed timeout for bulk.t, context.t - Increased timeout for delete.t --- test/bulk.t | 2 +- test/context.t | 2 +- test/delete.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/bulk.t b/test/bulk.t index 64c298a26..72fc9c9c2 100755 --- a/test/bulk.t +++ b/test/bulk.t @@ -90,7 +90,7 @@ class TestBulk(TestCase): # Test with 3 tasks. 3 is considered bulk. rc.confirmation has no effect on bulk # Delete task 1 'one'? (yes/no/all/quit) --> timeout - code, out, err = self.t.runError("1-3 delete rc.confirmation:off", timeout=0.2) + code, out, err = self.t.runError("1-3 delete rc.confirmation:off") self.assertNotIn("(yes/no)", out) self.assertIn("(yes/no/all/quit)", out) self.assertNotIn("Deleting task", out) diff --git a/test/context.t b/test/context.t index ac96115b6..70ff5af07 100755 --- a/test/context.t +++ b/test/context.t @@ -47,7 +47,7 @@ class ContextManagementTest(TestCase): """With confirmation active, prompt if context filter matches no tasks""" self.t.config("confirmation", "on") - code, out, err = self.t.runError('context define work project:Work', timeout=0.2) + code, out, err = self.t.runError('context define work project:Work') self.assertIn("The filter 'project:Work' matches 0 pending tasks.", out) self.assertNotIn("Context 'work' defined.", out) diff --git a/test/delete.t b/test/delete.t index 71070d509..294331213 100755 --- a/test/delete.t +++ b/test/delete.t @@ -126,7 +126,7 @@ class TestDelete(TestCase): def _validate_prompt_loop(self, input=""): """Helper method to check if task flooded stream on closed STDIN""" try: - code, out, err = self.t("/foo[1-3]/ delete", input=input, timeout=0.2) + code, out, err = self.t("/foo[1-3]/ delete", input=input, timeout=0.3) except CommandError as e: # If delete fails with a timeout, don't fail the test immediately code, out, err = e.code, e.out, e.err