Пример #1
0
def do_server_loop(root_path, in_queue, out_queue):
    remote = TestRemote(in_queue, out_queue)
    with try_except_send_remote(remote):
        server_sync(Archive(root_path), remote)
Пример #2
0
 def chat_server(self, test_chat):
     mock_remote = MockRemote(test_chat)
     server_sync(Archive(self.tmp_path), mock_remote)
     mock_remote.done()
Пример #3
0
def do_server_loop(root_path, in_queue, out_queue):
    remote = TestRemote(in_queue, out_queue)
    with try_except_send_remote(remote):
        server_sync(Archive(root_path), remote)
Пример #4
0
 def chat_server(self, test_chat):
     mock_remote = MockRemote(test_chat)
     server_sync(Archive(self.tmp_path), mock_remote)
     mock_remote.done()