def _test_manager(self):

        if self.config.get('manager', 'transactions') != 'true':
            raise RuntimeError('CSW-T interface is disabled')

        ipaddress = self.environ['REMOTE_ADDR']

        if not self.config.has_option('manager', 'allowed_ips') or \
        (self.config.has_option('manager', 'allowed_ips') and not
         util.ipaddress_in_whitelist(ipaddress,
                        self.config.get('manager', 'allowed_ips').split(','))):
            raise RuntimeError(
            'CSW-T operations not allowed for this IP address: %s' % ipaddress)
Reopening a file with variable-length arrays using
dataset/ETHPy150Open geopython/pycsw/pycsw/server.py/Csw._test_manager--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/tests/test_enum.py/EnumVLArrayTestCase.test00a_reopen