forked from p15670423/monkey
UT: Use more specific assert in test_connection_spawns_pipe
This commit is contained in:
parent
c021d54c05
commit
14de4db9fa
|
@ -53,7 +53,7 @@ def test_connection_spawns_pipe(pipe_spawner, relay_user_handler, data_socket):
|
|||
|
||||
connection_handler.handle_new_connection(data_socket)
|
||||
|
||||
assert pipe_spawner.spawn_pipe.called
|
||||
pipe_spawner.spawn_pipe.assert_called_once_with(data_socket)
|
||||
|
||||
|
||||
def test_connection_adds_user(pipe_spawner, relay_user_handler, data_socket):
|
||||
|
|
Loading…
Reference in New Issue