To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit 8dc263a2 authored by mikolajr's avatar mikolajr
Browse files

In PSI9000 device tests: assert config values

parent 718766be
......@@ -43,11 +43,13 @@ def testdev(com_config, dev_config):
return dev
def test_psi9000_config(dev_config):
def test_dev_config(dev_config):
# currently there are no non-default config values
config = PSI9000Config(**dev_config)
for key, value in dev_config.items():
assert getattr(config, key) == value
......@@ -70,7 +72,7 @@ def test_psi9000_config(dev_config):
{"wait_sec_initialisation": 0},
def test_psi9000_config_wrong_value(wrong_config_dict):
def test_dev_config_invalid(wrong_config_dict):
with pytest.raises(ValueError):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment