Example #1
0
 def test_types(self):
     b = BigInt(value=0)
     self.assertTrue(isinstance(b.value, (int, long)))
     b.save()
     self.assertTrue(isinstance(b.value, (int, long)))
     b = BigInt.objects.all()[0]
     self.assertTrue(isinstance(b.value, (int, long)))
Example #2
0
 def test_types(self):
     b = BigInt(value = 0)
     self.assertTrue(isinstance(b.value, (int, long)))
     b.save()
     self.assertTrue(isinstance(b.value, (int, long)))
     b = BigInt.objects.all()[0]
     self.assertTrue(isinstance(b.value, (int, long)))