Changeset 490 for elixir/trunk/tests/test_options.py
- Timestamp:
- 10/02/09 12:06:14 (3 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/tests/test_options.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/tests/test_options.py
r480 r490 26 26 p1 = Person(name='Daniel') 27 27 session.commit() 28 session. clear()28 session.expunge_all() 29 29 30 30 person = Person.query.first() … … 32 32 session.commit() 33 33 assert person.row_version == 2 34 session. clear()34 session.expunge_all() 35 35 36 36 person = Person.query.first() … … 38 38 session.commit() 39 39 assert person.row_version == 3 40 session. clear()40 session.expunge_all() 41 41 42 42 # check that a concurrent modification raises exception
