Lines Matching refs:getint
126 eq(cf.getint('Types', 'int'), 42)
146 eq(cf.getint('Types', 'int', fallback=18), 42)
147 eq(cf.getint('Types', 'no-such-int', fallback=18), 18)
148 eq(cf.getint('Types', 'no-such-int', fallback="18"), "18") # sic!
150 cf.getint('Types', 'no-such-int')
207 eq(cf['Types'].getint('int', 18), 42)
208 eq(cf['Types'].getint('int', fallback=18), 42)
209 eq(cf['Types'].getint('no-such-int', 18), 18)
210 eq(cf['Types'].getint('no-such-int', fallback=18), 18)
211 eq(cf['Types'].getint('no-such-int', "18"), "18") # sic!
212 eq(cf['Types'].getint('no-such-int', fallback="18"), "18") # sic!
213 eq(cf['Types'].getint('no-such-int'), None)
1151 self.assertEqual(cf.getint("global", "max log size"), 50)
1348 self.assertEqual(cf.getint(self.default_section, 'go',
1352 cf.getint(self.default_section, 'go', raw=True,
1975 self.assertEqual(cfg.getint('s', 'int'), 1)
1981 self.assertEqual(s.getint('int'), 1)