Lines Matching refs:getint
128 eq(cf.getint('Types', 'int'), 42)
149 eq(cf.getint('Types', 'int', fallback=18), 42)
150 eq(cf.getint('Types', 'no-such-int', fallback=18), 18)
151 eq(cf.getint('Types', 'no-such-int', fallback="18"), "18") # sic!
153 cf.getint('Types', 'no-such-int')
210 eq(cf['Types'].getint('int', 18), 42)
211 eq(cf['Types'].getint('int', fallback=18), 42)
212 eq(cf['Types'].getint('no-such-int', 18), 18)
213 eq(cf['Types'].getint('no-such-int', fallback=18), 18)
214 eq(cf['Types'].getint('no-such-int', "18"), "18") # sic!
215 eq(cf['Types'].getint('no-such-int', fallback="18"), "18") # sic!
216 eq(cf['Types'].getint('no-such-int'), None)
1173 self.assertEqual(cf.getint("global", "max log size"), 50)
1370 self.assertEqual(cf.getint(self.default_section, 'go',
1374 cf.getint(self.default_section, 'go', raw=True,
2005 self.assertEqual(cfg.getint('s', 'int'), 1)
2011 self.assertEqual(s.getint('int'), 1)