fixing a few linter errors.

This commit is contained in:
Thomas Göttgens
2023-03-31 13:46:19 +02:00
parent 7e6f13f0a2
commit 97aa8a8d74
3 changed files with 3 additions and 127 deletions

View File

@@ -773,7 +773,7 @@ def test_writeConfig_with_no_radioConfig(capsys):
anode = Node("foo", "bar", noProto=True)
with pytest.raises(SystemExit) as pytest_wrapped_e:
anode.writeConfig()
anode.writeConfig('foo')
assert pytest_wrapped_e.type == SystemExit
assert pytest_wrapped_e.value.code == 1
out, err = capsys.readouterr()