def setUp(self): with open('tests/test_data/wfs_v1_1_0.xml', 'r') as f: text = f.read() self.reader = OwsWfsPreprocessor(text, '1.1.0')
def setUp(self): # tests/test_data/wfs_v1_0_0.xml is the original invalid wfs with open('tests/test_data/wfs_v1_0_0_valid.xml', 'r') as f: text = f.read() self.reader = OwsWfsPreprocessor(text, '1.0.0')