[SQL-CVS] r1318 - SQLObject/trunk/sqlobject/tests
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2005-11-22 16:10:56
|
Author: test Date: 2005-11-22 16:10:46 +0000 (Tue, 22 Nov 2005) New Revision: 1318 Modified: SQLObject/trunk/sqlobject/tests/test_basic.py Log: Fixed asDict test Modified: SQLObject/trunk/sqlobject/tests/test_basic.py =================================================================== --- SQLObject/trunk/sqlobject/tests/test_basic.py 2005-11-22 16:09:47 UTC (rev 1317) +++ SQLObject/trunk/sqlobject/tests/test_basic.py 2005-11-22 16:10:46 UTC (rev 1318) @@ -279,5 +279,6 @@ def testAsDict(): setupGetters(TestSO1) bob = TestSO1.selectBy(name='bob')[0] - assert bob.sqlmeta.asDict() == {'passwd': 'tbq', 'name': 'bob'} + assert bob.sqlmeta.asDict() == { + 'passwd': 'tbq', 'name': 'bob', 'id': bob.id} |