def test_run_asynchronous_query_success(self):
        mock_job_collection = mock.Mock()
        mock_job_collection_insert = mock.Mock()

        self.mock_authenticated_service.jobs.return_value = mock_job_collection
        mock_job_collection.insert.return_value = mock_job_collection_insert
        mock_job_collection_insert.execute.return_value = {
            'jobReference':
            {'projectId': 'dummy_project_id',
             'jobId': 'dummy_job_id'}
        }

        job_id_actual = self.call.run_asynchronous_query('dummy_query_string')
        self.assertEqual('dummy_job_id', job_id_actual)

        mock_job_collection.insert.assert_called_once_with(
            projectId='dummy_project_id',
            body={'configuration': {'query': {'query': 'dummy_query_string'}}})
Return the unicode representation of a bytes object `text`. If `text`
dataset/ETHPy150Open m-lab/telescope/tests/test_external.py/BigQueryCallTest.test_run_asynchronous_query_success--crossover with--dataset/ETHPy150Open scrapinghub/splash/splash/utils.py/to_unicode