mirror of
https://github.com/jankae/LibreVNA.git
synced 2025-12-06 07:12:10 +01:00
9 lines
252 B
Python
9 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)
|