UT: Use more specific assert in test_connection_spawns_pipe

This commit is contained in:
Kekoa Kaaikala 2022-09-06 16:25:37 +00:00
parent c021d54c05
commit 14de4db9fa
1 changed files with 1 additions and 1 deletions

View File

@ -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):