Skip to content

Commit 2ef355a

Browse files
author
Test
committed
Fixed asDict test
git-svn-id: http://svn.colorstudy.com/SQLObject/trunk@1318 95a46c32-92d2-0310-94a5-8d71aeb3d4b3
1 parent 5c86131 commit 2ef355a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sqlobject/tests/test_basic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,6 @@ def testForeignKeySetNull():
279279
def testAsDict():
280280
setupGetters(TestSO1)
281281
bob = TestSO1.selectBy(name='bob')[0]
282-
assert bob.sqlmeta.asDict() == {'passwd': 'tbq', 'name': 'bob'}
282+
assert bob.sqlmeta.asDict() == {
283+
'passwd': 'tbq', 'name': 'bob', 'id': bob.id}
283284

0 commit comments

Comments
 (0)