

def test_job_info_with_correct_parameters_without_connection(self):
    '\n        Invoke job_info() with correct parameters without connection\n        '
    config = {
        'hosts': [('127.0.0.1', 3000)],
    }
    client1 = aerospike.client(config)
    try:
        client1.job_info(client1.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/VarMisuse@46/92 `self`->`client1`