added remove() coverage....

This commit is contained in:
Mike Bayer
2007-08-16 15:00:51 +00:00
parent ac4c3f99db
commit 666a62141f
+2 -1
View 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