Exemplo n.º 1
0
    def test_scan_multi(self):
        devices = omicronxx.MultixX.scan()
        if not TEST_NOHW:
            self.assertGreater(len(devices), 0)

        for name, kwargs in devices:
            logging.debug("opening %s", name)
            dev = omicronxx.MultixX(name, "test", **kwargs)
            dev.terminate()
Exemplo n.º 2
0
 def setUp(self):
     if TEST_NOHW:
         self.skipTest("No simulator for MultixX")
     self.dev = omicronxx.MultixX("test", "light", MXXPORTS)