summaryrefslogtreecommitdiff
path: root/lib/fixtures/tests/_fixtures/test_popen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fixtures/tests/_fixtures/test_popen.py')
-rw-r--r--lib/fixtures/tests/_fixtures/test_popen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fixtures/tests/_fixtures/test_popen.py b/lib/fixtures/tests/_fixtures/test_popen.py
index 6d47291..98b762f 100644
--- a/lib/fixtures/tests/_fixtures/test_popen.py
+++ b/lib/fixtures/tests/_fixtures/test_popen.py
@@ -98,3 +98,7 @@ class TestFakeProcess(testtools.TestCase):
def test_kill(self):
proc = FakeProcess({}, {})
self.assertIs(None, proc.kill())
+
+ def test_wait_with_timeout_and_endtime(self):
+ proc = FakeProcess({}, {})
+ self.assertEqual(0 , proc.wait(timeout=4, endtime=7))