

def test_range_date_day(self):
    object1 = RangeDateDay(name='foo', created=datetime.datetime(2014, 4, 15, 18, 44, 23))
    self.session.add(object1)
    object1.session.commit()
    object2 = self.session.query(RangeDateDay).from_statement(text('SELECT * FROM test_rangedateday_y2014d105 WHERE id = :id')).params(id=object1.id).first()
    self.assertTrue(object1.name, object2.name)

dataset/ETHPy150Open maxtepkeev/architect/tests/test_sqlalchemy.py PostgresqlSqlAlchemyPartitionTestCase.test_range_date_day/VarMisuse@47/57 `self`->`object1`