class TestOwsWcsPreprocessor(unittest.TestCase):
    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')

    def test_return_descriptors(self):
        # self.assertTrue(self.reader.reader)

        descriptors = self.reader.return_service_descriptors()

        self.assertTrue('GMU LAITS Web Coverage Server' in descriptors['title'])
        self.assertFalse(descriptors['version'] == "1.0.2")
 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')