fix the pylint unused-argument warnings

This commit is contained in:
Mike Kinney
2022-01-12 14:41:49 -08:00
parent 48ed7690af
commit 0f89baa36e
14 changed files with 291 additions and 155 deletions

View File

@@ -23,6 +23,10 @@ def test_SerialInterface_single_port(mocked_findPorts, mocked_serial, mocked_ope
iface.close()
mocked_findPorts.assert_called()
mocked_serial.assert_called()
mocked_open.assert_called()
mock_get.assert_called()
mock_set.assert_called()
mock_sleep.assert_called()
out, err = capsys.readouterr()
assert re.search(r'Nodes in mesh', out, re.MULTILINE)
assert re.search(r'Preferences', out, re.MULTILINE)