'Test with 1 cover.'

def test_one_cover(self):

    self.assertTrue(setup_component(self.hass, 'cover', {'cover': {'platform': 'rfxtrx', 'devices': {'0b1400cd0213c7f210010f51': {'name': 'Test'}}}}))
    import RFXtrx as rfxtrxmod
    rfxtrx_core.RFXOBJECT = rfxtrxmod.Core('', transport_protocol=rfxtrxmod.DummyTransport)
    self.assertEqual(1, len(rfxtrx_core.RFX_DEVICES))
    for id in rfxtrx_core.RFX_DEVICES:
        entity = rfxtrx_core.RFX_DEVICES[id]
        self.assertEqual(entity.signal_repetitions, 1)
        self.assertFalse(entity.should_fire_event)
        self.assertFalse(entity.should_poll)
        entity.open_cover()
        entity.close_cover()
        entity.stop_cover()
