mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-17 22:22:13 -04:00
added remove() coverage....
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user