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

This commit is contained in:
nicolargo 2015-03-08 11:21:02 +01:00
parent 2275a72b94
commit 0a0fed767e

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)