mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 22:45:23 +00:00
8 lines
252 B
Python
8 lines
252 B
Python
from tests.TestBase import TestBase
|
|
|
|
class TestMode(TestBase):
|
|
def test_Mode(self):
|
|
modes = ["VNA", "GEN", "SA"]
|
|
for m in modes:
|
|
self.vna.cmd(":DEV:MODE "+m)
|
|
self.assertEqual(self.vna.query(":DEV:MODE?"), m)
|