1888
1890
env=environ, cwd=_config.root)
1891
1897
def _waitUntilAppServerIsReady(cls):
1892
1898
"""Wait until the app server accepts connection."""
1893
1899
assert cls.appserver is not None, "App server isn't started."
1895
1901
until = datetime.datetime.now() + WAIT_INTERVAL
1896
1902
while until > datetime.datetime.now():