def test_admin_grant_privileges_positive_with_policy(self):
        status = self.client.admin_grant_privileges(
            "usr-sys-admin-test",
            [{"code": aerospike.PRIV_READ}],
            {'timeout': 1000})

        assert status == 0
        time.sleep(1)
        roles = self.client.admin_query_role("usr-sys-admin-test")
        assert roles == [{'code': 0, 'ns': '', 'set': ''},
                         {'code': 1, 'ns': '', 'set': ''},
                         {'code': 10, 'ns': '', 'set': ''}]

        status = self.client.admin_revoke_privileges(
            "usr-sys-admin-test",
            [{"code": aerospike.PRIV_READ}])

        assert status == 0
Returns a dict with the form evidence->[True|False|None]
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_admin_grant_privileges.py/TestGrantPrivileges.test_admin_grant_privileges_positive_with_policy--crossover with--dataset/ETHPy150Open machinalis/iepy/iepy/data/db.py/CandidateEvidenceManager.labels_for