]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
added remove() coverage....
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 16 Aug 2007 15:00:51 +0000 (15:00 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 16 Aug 2007 15:00:51 +0000 (15:00 +0000)
test/orm/session.py

index 1e9319ef3f3df2df432586ba66ab3a5573b507df..1ad47dad6c95f82a74f57968efd6502897eb62db 100644 (file)
@@ -486,10 +486,11 @@ class ScopedSessionTest(ORMTest):
         s.options.append(sso)
         Session.save(s)
         Session.commit()
-        Session.clear()
+        Session.remove()
         
         assert SomeObject(id=1, data="hello", options=[SomeOtherObject(someid=1)]) == Session.query(SomeObject).one()
         
+        
 class ScopedMapperTest(PersistTest):
     def setUpAll(self):
         global metadata, table, table2