def test_revoke_privileges_incorrect_role_type(self):
        try:
            self.client.admin_revoke_privileges(
                1, [{"code": aerospike.PRIV_USER_ADMIN}])

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "Role name should be a string"
Called when a connection has been established.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_admin_revoke_privileges.py/TestRevokePrivilege.test_revoke_privileges_incorrect_role_type--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/masterd/instance.py/_RemoteExportCb.ReportConnected