'Test Model creation'

def test_model_creation(self):

    from sqlalchemy.engine.reflection import Inspector
    engine = self.db.session.get_bind(mapper=None, clause=None)
    inspector = Inspector.from_engine(engine)
    ok_(('model1' in inspector.get_table_names()))
    ok_(('model2' in inspector.get_table_names()))
    ok_(('model_with_enums' in inspector.get_table_names()))
