Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')
def test_xmlConvertInt(self):
self.assertEqual(xmlConvertInt(1), '1')
self.assertEqual(xmlConvertInt(-1), '-1')
self.assertEqual(xmlConvertInt(- 1), '-1')
self.assertEqual(xmlConvertInt(0), '0')
self.assertEqual(xmlConvertInt(-0), '0')
self.assertEqual(xmlConvertInt(0o01), '1')
self.assertEqual(xmlConvertInt(- 0o01), '-1')
self.assertEqual(xmlConvertInt(0o000001), '1')
self.assertEqual(xmlConvertInt(0o0000000000000001), '1')
self.assertEqual(xmlConvertInt(1000000000000001), '1000000000000001')
self.assertEqual(xmlConvertInt(0o000001000001), '262145')
self.assertEqual(xmlConvertInt(0o00000100000), '32768')
self.assertEqual(xmlConvertInt(0o0000010), '8')
self.assertEqual(xmlConvertInt(-0o0000010), '-8')
self.assertEqual(xmlConvertInt(0o0000020), '16')
self.assertEqual(xmlConvertInt(0o0000030), '24')
self.assertEqual(xmlConvertInt(65536), '65536')