def test_disable_job(self):
        self.schedule.opts.update({'schedule': {'name': {'enabled': 'foo'}}})
        Schedule.disable_job(self.schedule, 'name')
        del self.schedule.opts['sock_dir']
        self.assertFalse(self.schedule.opts['schedule']['name']['enabled'])
Creates Pub/Sub client from a given credentials and returns it.
dataset/ETHPy150Open saltstack/salt/tests/unit/utils/schedule_test.py/ScheduleTestCase.test_disable_job--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/cloud-pubsub-samples-python/appengine-push/pubsub_utils.py/get_client_from_credentials