]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- do a close() here so that objects are guaranteed loaded new
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Mar 2011 23:26:47 +0000 (19:26 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Mar 2011 23:26:47 +0000 (19:26 -0400)
test/ext/test_horizontal_shard.py

index a570de1ff9b2b6ff1df32ca73806902e8accbf1c..62b992d2ef00e6b9c34a2400a604526df308ca69 100644 (file)
@@ -163,6 +163,7 @@ class ShardTest(fixtures.TestBase):
             ]:
             sess.add(c)
         sess.commit()
+        sess.close()
         return sess
 
     def test_roundtrip(self):