Migrate to cherrypy wsgi from eventlet (#2387)
This commit is contained in:
parent
7582eb9f63
commit
d1f4901d53
13 changed files with 168 additions and 153 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue