def test_scan_hub(self): devices = omicronxx.HubxX.scan() if not TEST_NOHW: self.assertGreater(len(devices), 0) for name, kwargs in devices: logging.debug("opening %s", name) dev = omicronxx.HubxX(name, "test", **kwargs) dev.terminate()
def setUp(self): self.dev = omicronxx.HubxX("test", "light", HUBPORT)