def test_dmlrunner_communicate_job(config_manager, train_dmlresult_obj, ipfs_client): runner = DMLRunner(config_manager) runner.configure(ipfs_client) comm_job = train_dmlresult_obj.job.copy_constructor() comm_job.job_type = JobTypes.JOB_COMM.name comm_job.key = "test" result = runner.run_job(comm_job) assert result.results["receipt"]
def runner(config_manager, ipfs_client): runner = DMLRunner(config_manager) runner.configure(ipfs_client=ipfs_client) return runner