

def test_range_date_day(self):
    object1 = RangeDateDay.create(name='foo', created=datetime.datetime(2014, 4, 15, 18, 44, 23))
    object2 = list(RangeDateDay.raw('SELECT * FROM test_rangedateday WHERE id = %s', object1.id))[0]
    self.assertTrue(object1.name, object2.name)

dataset/ETHPy150Open maxtepkeev/architect/tests/test_peewee.py MysqlPeeweePartitionTestCase.test_range_date_day/original