]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Forgot final check that a delete in a backref also doesn't create a new version
authorMatt Chisholm <matt@theory.org>
Mon, 17 Jun 2013 21:30:07 +0000 (23:30 +0200)
committerMatt Chisholm <matt@theory.org>
Mon, 17 Jun 2013 21:30:07 +0000 (23:30 +0200)
follow up to https://bitbucket.org/zzzeek/sqlalchemy/pull-request/2

examples/versioning/test_versioning.py

index 2bc18df635aa3c7669bafedb31eb97b564594fb3..297d9e47e95a4b3301d3ddb6e81bdbb8949d14a2 100644 (file)
@@ -374,5 +374,8 @@ class TestVersioning(TestCase):
         sess.commit()
 
         assert sc.version == 1
+
         sess.delete(sr)
         sess.commit()
+
+        assert sc.version == 1