def test_job_info_with_correct_parameters_without_connection(self):
        """
        Invoke job_info() with correct parameters without connection
        """

        config = {'hosts': [('127.0.0.1', 3000)]}
        client1 = aerospike.client(config)

        try:
            client1.job_info(self.job_id, aerospike.JOB_SCAN)

        except e.ClusterError as exception:
            assert exception.code == 11
            assert exception.msg == 'No connection to aerospike cluster'
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_job_info.py/TestScanInfo.test_job_info_with_correct_parameters_without_connection/original