mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Cleanup http (#12424)
* Clean up HTTP component * Clean up HTTP mock * Remove unused import * Fix test * Lint
This commit is contained in:
committed by
Pascal Vizeli
parent
ad8fe8a93a
commit
f32911d036
@@ -9,7 +9,7 @@ from uvcclient import nvr
|
||||
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.components.camera import uvc
|
||||
from tests.common import get_test_home_assistant, mock_http_component
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
class TestUVCSetup(unittest.TestCase):
|
||||
@@ -18,7 +18,6 @@ class TestUVCSetup(unittest.TestCase):
|
||||
def setUp(self):
|
||||
"""Setup things to be run when tests are started."""
|
||||
self.hass = get_test_home_assistant()
|
||||
mock_http_component(self.hass)
|
||||
|
||||
def tearDown(self):
|
||||
"""Stop everything that was started."""
|
||||
|
||||
Reference in New Issue
Block a user