Move imports in rfxtrx component (#27549)
This commit is contained in:
1 parent
3873a1b070
commit
40e5beb0ed
9 files changed
+11
-32
No files matched your search
@@ -1,7 +1,7 @@
|
||||
"""The tests for the Rfxtrx switch platform."""
|
||||
import unittest
|
||||
|
||||
import pytest
|
||||
import RFXtrx as rfxtrxmod
|
||||
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.components import rfxtrx as rfxtrx_core
|
||||
@@ -166,8 +166,6 @@ class TestSwitchRfxtrx(unittest.TestCase):
|
||||
},
|
||||
)
|
||||
|
||||
import RFXtrx as rfxtrxmod
|
||||
|
||||
rfxtrx_core.RFXOBJECT = rfxtrxmod.Core(
|
||||
"", transport_protocol=rfxtrxmod.DummyTransport
|
||||
)
|
||||
@@ -200,8 +198,6 @@ class TestSwitchRfxtrx(unittest.TestCase):
|
||||
},
|
||||
)
|
||||
|
||||
import RFXtrx as rfxtrxmod
|
||||
|
||||
rfxtrx_core.RFXOBJECT = rfxtrxmod.Core(
|
||||
"", transport_protocol=rfxtrxmod.DummyTransport
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user