Add missing file + delay in RST test

This commit is contained in:
Jan Käberich 2024-04-22 15:23:35 +02:00
parent 0fc6c912fc
commit 77cd3a9d4b
2 changed files with 11 additions and 0 deletions

View file

@ -242,6 +242,10 @@ class TestRST(TestBase):
# Reset and verify all settings revert.
self.vna.cmd("*RST")
# ... and wait a little bit here again to let the changes from the RST propagate from the device and back to the GUI (otherwise we might still read wrong external reference settings for example)
time.sleep(2)
settings2 = self.query_settings()
for key, value in settings1.items():
self.assertEqual(value, settings2[key])

View file

@ -0,0 +1,7 @@
from tests.TestBase import TestBase
import time
class TestUpdate(TestBase):
def test_Update(self):
self.vna.cmd("DEV:UPDATE ../../combined.vnafw", timeout=60)