Changeset 4748
- Timestamp:
- 06/15/08 19:54:24 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/TurboJson/branches/1.1/turbojson/tests/test_sqlobject.py
r4580 r4748 58 58 cj = jsonify.jsonify(c) 59 59 assert cj == {'customized': True} 60 61 def test_so_select_result(): 62 p = Person(fname="Willy", mi="P", lname="Millowitsch") 63 sr = Person.select(Person.q.fname=="Willy") 64 srj = jsonify.jsonify(sr) 65 assert srj == [p] projects/TurboJson/trunk/turbojson/tests/test_sqlobject.py
r4580 r4748 58 58 cj = jsonify.jsonify(c) 59 59 assert cj == {'customized': True} 60 61 def test_so_select_result(): 62 p = Person(fname="Willy", mi="P", lname="Millowitsch") 63 sr = Person.select(Person.q.fname=="Willy") 64 srj = jsonify.jsonify(sr) 65 assert srj == [p]