(self)
| 1080 | config_class = configparser.RawConfigParser |
| 1081 | |
| 1082 | def test_interpolation(self): |
| 1083 | cf = self.get_interpolation_config() |
| 1084 | eq = self.assertEqual |
| 1085 | eq(cf.get("Foo", "bar"), |
| 1086 | "something %(with1)s interpolation (1 step)") |
| 1087 | eq(cf.get("Foo", "bar9"), |
| 1088 | "something %(with9)s lots of interpolation (9 steps)") |
| 1089 | eq(cf.get("Foo", "bar10"), |
| 1090 | "something %(with10)s lots of interpolation (10 steps)") |
| 1091 | eq(cf.get("Foo", "bar11"), |
| 1092 | "something %(with11)s lots of interpolation (11 steps)") |
| 1093 | |
| 1094 | def test_items(self): |
| 1095 | self.check_items_config([('default', '<default>'), |
nothing calls this directly
no test coverage detected