def setUp(self): with open('tests/test_data/wcs_v1_0_0.xml', 'r') as f: text = f.read() self.reader = OwsWcsPreprocessor(text, '1.0.0')