[Checkins] SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py renamed a test in order to avoid a deadlock

Andreas Jung andreas at andreas-jung.com
Sun Sep 16 10:23:38 EDT 2007


Log message for revision 79692:
  renamed a test in order to avoid a deadlock
  

Changed:
  U   z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py

-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py	2007-09-16 13:48:57 UTC (rev 79691)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/tests/testSQLAlchemy.py	2007-09-16 14:23:37 UTC (rev 79692)
@@ -154,8 +154,7 @@
         self.assertEqual(wrapper, wrapper2)
 
         
-    def testMapperGetMapper(self):
-
+    def testXXMapperGetMapper(self):
         def getModel(md):
 
             model = Model()
@@ -171,7 +170,7 @@
         User = db.getMapper('users')
         session = db.session
         session.save(User(id=1,firstname='foo', lastname='bar'))
-        session.flush()
+
         user = session.query(User).filter_by(firstname='foo')[0]
         Skill = user.getMapper('skills')
         user.skills.append(Skill(id=1, name='Zope'))



More information about the Checkins mailing list