

def test_range_integer_zero(self):
    object1 = RangeInteger2.create(name='foo', num=0)
    object2 = list(RangeInteger2.raw('SELECT * FROM test_rangeinteger2_0 WHERE id = %s', object1.id))[0]
    object3 = RangeInteger5.create(name='foo', num=0)
    object4 = list(RangeInteger5.raw('SELECT * FROM test_rangeinteger5_0 WHERE id = %s', object3.id))[0]
    self.assertTrue(object1.name, object2.name)
    self.assertTrue(object3.name, object4.name)

dataset/ETHPy150Open maxtepkeev/architect/tests/test_peewee.py PostgresqlPeeweePartitionTestCase.test_range_integer_zero/original