def test_section2option(self): """Test for section2option()""" tests = ((' FOO2 ', 'foo2'), ('A - B (C)', 'a_b_c')) for test in tests: self.assertEqual(section2option(test[0]), test[1])
def test_section2option(self): """Test for section2option()""" tests = ((' FOO2 ', 'foo2'), ('A - B (C)', 'a_b_c')) for test in tests: self.assertEqual(section2option(test[0]), test[1])