From 0a0fed767e1e11a0190ed958cd2baa58ee5832ae Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sun, 8 Mar 2015 11:21:02 +0100 Subject: [PATCH] Correct an issue in the RESTFUL unitest. Add delay to the server start --- unitest-restful.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitest-restful.py b/unitest-restful.py index 55fb5292..74a6e18d 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -91,7 +91,7 @@ class TestGlances(unittest.TestCase): args = shlex.split(cmdline) pid = subprocess.Popen(args) print("Please wait...") - time.sleep(1) + time.sleep(3) self.assertTrue(pid is not None)