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

        if job_info['status'] == aerospike.JOB_STATUS_COMPLETED or \
           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
Adds a filter.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_job_info.py/TestScanInfo.test_job_info_with_correct_policy--crossover with--dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/plugin_framework/filter_manager.py/FilterManager.add_filter