Apply isort on rfxtrx classes (#27615)

* Move imports in rfxtrx component

* Apply isort on rfxtrx files

* Update test_switch.py
This commit is contained in:
javicalle authored and Andrew Sayre committed 2019-10-14 10:38:34 -05:00
1 parent 288d370ef5
commit de7963544f
10 files changed
+24 -16

No files matched your search

+6 -5
View File
@@ -1,17 +1,18 @@
"""The tests for the Rfxtrx switch platform."""
"""The tests for the RFXtrx switch platform."""
import unittest
import pytest
import RFXtrx as rfxtrxmod
from homeassistant.setup import setup_component
import RFXtrx as rfxtrxmod
import pytest
from homeassistant.components import rfxtrx as rfxtrx_core
from homeassistant.setup import setup_component
from tests.common import get_test_home_assistant, mock_component
@pytest.mark.skipif("os.environ.get('RFXTRX') != 'RUN'")
class TestSwitchRfxtrx(unittest.TestCase):
"""Test the Rfxtrx switch platform."""
"""Test the RFXtrx switch platform."""
def setUp(self):
"""Set up things to be run when tests are started."""