浏览代码

Added a test

/develop-generalizationTraining-TrainerController
vincentpierre 6 年前
当前提交
f1e4883a
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      ml-agents/tests/envs/test_rpc_communicator.py

7
ml-agents/tests/envs/test_rpc_communicator.py


first_comm.close()
def test_rpc_communicator_close():
first_comm = RpcCommunicator()
first_comm.close()
second_comm = RpcCommunicator()
second_comm.close()
def test_rpc_communicator_create_multiple_workers():
# Ensures multiple RPC communicators can be created with
# different worker_ids without causing an error.

正在加载...
取消
保存