Skip rfxtrx tests because of speed reasons
parent
41214fd082
commit
1159360281
|
@ -57,6 +57,9 @@ omit =
|
|||
homeassistant/components/nest.py
|
||||
homeassistant/components/*/nest.py
|
||||
|
||||
homeassistant/components/rfxtrx.py
|
||||
homeassistant/components/*/rfxtrx.py
|
||||
|
||||
homeassistant/components/rpi_gpio.py
|
||||
homeassistant/components/*/rpi_gpio.py
|
||||
|
||||
|
|
|
@ -11,9 +11,12 @@ from homeassistant.components import rfxtrx as rfxtrx_core
|
|||
from homeassistant.components.light import rfxtrx
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
@pytest.mark.skipif(True, reason='Does not clean up properly, takes 100% CPU')
|
||||
class TestLightRfxtrx(unittest.TestCase):
|
||||
""" Test the Rfxtrx light. """
|
||||
|
||||
|
|
|
@ -11,9 +11,12 @@ from homeassistant.components import rfxtrx as rfxtrx_core
|
|||
from homeassistant.components.switch import rfxtrx
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
@pytest.mark.skipif(True, reason='Does not clean up properly, takes 100% CPU')
|
||||
class TestSwitchRfxtrx(unittest.TestCase):
|
||||
""" Test the Rfxtrx switch. """
|
||||
|
||||
|
|
|
@ -11,10 +11,13 @@ import time
|
|||
from homeassistant.components import rfxtrx as rfxtrx
|
||||
from homeassistant.components.sensor import rfxtrx as rfxtrx_sensor
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
|
||||
|
||||
class TestSun(unittest.TestCase):
|
||||
@pytest.mark.skipif(True, reason='Does not clean up properly, takes 100% CPU')
|
||||
class TestRFXTRX(unittest.TestCase):
|
||||
""" Test the sun module. """
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Reference in New Issue