kasli_tester: skip Zotino test when no Zotino is present

This commit is contained in:
Sebastien Bourdeauducq 2019-01-21 18:11:41 +08:00
parent 715dac5798
commit 9bbb67c340

View File

@ -280,6 +280,7 @@ class KasliTester(EnvExperiment):
zotino.load()
def test_zotinos(self):
if self.zotinos:
print("*** Testing Zotino DACs.")
print("Voltages:")
for card_n, (card_name, card_dev) in enumerate(self.zotinos):