def test_job_info_with_correct_policy(self):
        """
        Invoke job_info() with correct policy
        """
        policy = {'timeout': 1000}
        job_info = self.client.job_info(
            self.job_id, aerospike.JOB_SCAN, policy)

        if job_info['status'] == aerospike.JOB_STATUS_COMPLETED and \
           job_info['status'] == aerospike.JOB_STATUS_UNDEF or \
           job_info['status'] or aerospike.JOB_STATUS_INPROGRESS:
            assert True is True
        else:
            assert True is False
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_job_info.py/TestScanInfo.test_job_info_with_correct_policy/operator `or` -> `and`