hid: better error handling

This commit is contained in:
Devaev Maxim
2019-04-07 07:39:05 +03:00
parent f426e13907
commit 6c121bf87f
4 changed files with 35 additions and 21 deletions

View File

@@ -60,7 +60,6 @@ def test_main(tmpdir) -> None: # type: ignore
"--set-options",
"kvmd/server/port=0",
"kvmd/server/unix=" + kvmd_sock_path,
"kvmd/hid/device=/dev/null",
"kvmd/streamer/port=0",
"kvmd/streamer/unix=" + ustreamer_sock_path,
"kvmd/streamer/cmd=[\"%s\"]" % (ustreamer_fake_name),

View File

@@ -60,7 +60,6 @@ def _run_main(htpasswd: passlib.apache.HtpasswdFile, cmd: List[str]) -> None:
*cmd,
"--set-options",
"kvmd/auth/basic/htpasswd=" + htpasswd.path,
"kvmd/hid/device=/dev/null",
])