mirror of
https://github.com/romanz/amodem.git
synced 2026-04-20 04:56:25 +08:00
server: pass handler and add debug option
This commit is contained in:
@@ -101,7 +101,8 @@ def test_run():
|
||||
|
||||
|
||||
def test_serve_main():
|
||||
with server.serve(public_keys=[], signer=None, sock_path=None):
|
||||
handler = protocol.Handler(keys=[], signer=None)
|
||||
with server.serve(handler=handler, sock_path=None):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user