def test_is_xml_false(self): catchment_str = open('tests/data/8002.CD3').read() self.assertFalse(tasks.is_xml(catchment_str))
def test_is_xml_true(self): catchment_str = open('tests/data/catchment.xml').read() self.assertTrue(tasks.is_xml(catchment_str))