Correct an issue in the RESTFUL unitest. Add delay to the server start

pull/532/head^2
nicolargo 2015-03-08 11:21:02 +01:00
parent 2275a72b94
commit 0a0fed767e
1 changed files with 1 additions and 1 deletions

View File

@ -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)