def getDiamondDeviceSet(): '''return list of devices filtered according to diamondFilter''' if doFilter: return ethercat.filteredDescriptions(ethercat.getAllDevices()) else: return ethercat.getAllDevices()
def testContents(self): self.assertTrue( len(ethercat.getAllDevices()) > 0 )