

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

dataset/ETHPy150Open maxtepkeev/architect/tests/test_sqlalchemy.py MysqlSqlAlchemyPartitionTestCase.test_range_date_week/original