root/sandbox/bhorisberger/v25toflex/v25toflex/tests/controller.py @ 2497

Revision 2497, 258 bytes (checked in by bhorisberger, 4 years ago)

test controller - models - persistent

Line 
1import models
2from persistent import Schema
3
4class SAObject(object):
5
6   def show_area(self):
7            session = Schema().create_session()
8            for x in session.query(models.TestVector.area):
9                     print x
10
11
12
13SAObject().show_area()
Note: See TracBrowser for help on using the browser.