

def test_connect_to_worker_asks_master_for_worker_address(self):
    self.worker.connect_to_worker('en-GB')
    expected_message = createWorkerRequestMessage('en-GB')
    self.assertThatMessageWasSendToMaster(expected_message)

dataset/ETHPy150Open UFAL-DSG/cloud-asr/cloudasr/api/test_lib.py TestFrontendWorker.test_connect_to_worker_asks_master_for_worker_address/original