def test_filter_rgi_name(self): name = 'Tustumena Glacier \x9c' expected = 'Tustumena Glacier' self.assertTrue(utils.filter_rgi_name(name), expected) name = 'Hintereisferner À' expected = 'Hintereisferner' self.assertTrue(utils.filter_rgi_name(name), expected) name = 'SPECIAL GLACIER 3' expected = 'Special Glacier' self.assertTrue(utils.filter_rgi_name(name), expected)
def test_filter_rgi_name(self): name = 'Tustumena Glacier \x9c' expected = 'Tustumena Glacier' self.assertTrue(utils.filter_rgi_name(name), expected) name = 'Hintereisferner À' expected = 'Hintereisferner' self.assertTrue(utils.filter_rgi_name(name), expected) name = 'SPECIAL GLACIER 3' expected = 'Special Glacier' self.assertTrue(utils.filter_rgi_name(name), expected)