Migrate to cherrypy wsgi from eventlet (#2387)
This commit is contained in:
1 parent
7582eb9f63
commit
d1f4901d53
13 files changed
+168
-153
No files matched your search
@@ -1,9 +1,9 @@
|
||||
"""The tests for Home Assistant frontend."""
|
||||
# pylint: disable=protected-access,too-many-public-methods
|
||||
import re
|
||||
import time
|
||||
import unittest
|
||||
|
||||
import eventlet
|
||||
import requests
|
||||
|
||||
import homeassistant.bootstrap as bootstrap
|
||||
@@ -42,10 +42,7 @@ def setUpModule(): # pylint: disable=invalid-name
|
||||
bootstrap.setup_component(hass, 'frontend')
|
||||
|
||||
hass.start()
|
||||
|
||||
# Give eventlet time to start
|
||||
# TODO fix this
|
||||
eventlet.sleep(0.05)
|
||||
time.sleep(0.05)
|
||||
|
||||
|
||||
def tearDownModule(): # pylint: disable=invalid-name
|
||||
|
||||
Reference in new issue
Block a user