Skip rfxtrx tests because of speed reasons

pull/1480/head
Paulus Schoutsen 2016-03-05 09:28:47 -08:00
parent 41214fd082
commit 1159360281
4 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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. """

View File

@ -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. """

View File

@ -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):