def StubDevice(): """Return a valid trivial device.""" return devices.Device(rx_driver=StubRXDriver(), components={})
def StubDevice(): """Return a valid trivial device.""" return devices.Device(components={})
def StubDevice(): '''Return a valid trivial device.''' return devices.Device(components={u'c': nullExportedState})