forked from M-Labs/artiq
kasli_tester: skip Zotino test when no Zotino is present
This commit is contained in:
parent
bff8c8cb05
commit
30b2f54baa
|
@ -280,6 +280,7 @@ class KasliTester(EnvExperiment):
|
||||||
zotino.load()
|
zotino.load()
|
||||||
|
|
||||||
def test_zotinos(self):
|
def test_zotinos(self):
|
||||||
|
if self.zotinos:
|
||||||
print("*** Testing Zotino DACs.")
|
print("*** Testing Zotino DACs.")
|
||||||
print("Voltages:")
|
print("Voltages:")
|
||||||
for card_n, (card_name, card_dev) in enumerate(self.zotinos):
|
for card_n, (card_name, card_dev) in enumerate(self.zotinos):
|
||||||
|
|
Loading…
Reference in New Issue