

def test_job_info_with_incorrect_policy(self):
    '\n        Invoke job_info() with incorrect policy\n        '
    policy = {
        'timeout': 0.5,
    }
    try:
        self.client.job_info(self.job_id, aerospike.JOB_SCAN, policy)
    except e.ParamError as exception:
        assert (self.code == (- 2))
        assert (exception.msg == 'timeout is invalid')

dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_job_info.py TestScanInfo.test_job_info_with_incorrect_policy/VarMisuse@56/92 `exception`->`self`