]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- this test began working for oracle as of r14af1f73fbbd. Additionally,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Oct 2010 05:30:17 +0000 (01:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 2 Oct 2010 05:30:17 +0000 (01:30 -0400)
the operation wasn't actually "working" on sqlite, mysql prior to that
rev, but no assertions checked. added assertions for those.

test/orm/test_naturalpks.py

index d02ecb7075c49ad19adcacbfa45c3d608dffa0d4..ca88251d76940cb8ddd66fba3d568f8b70243935 100644 (file)
@@ -972,7 +972,7 @@ class JoinedInheritanceTest(_base.MappedTest):
         self._test_fk(True)
         
     # PG etc. need passive=True to allow PK->PK cascade
-    @testing.fails_on_everything_except('sqlite', 'mysql+zxjdbc',
+    @testing.fails_on_everything_except('sqlite', 'mysql+zxjdbc', 'oracle',
                                                 'postgresql+zxjdbc')
     def test_fk_nonpassive(self):
         self._test_fk(False)
@@ -1026,13 +1026,18 @@ class JoinedInheritanceTest(_base.MappedTest):
             e1, e2, m1
         ])
         sess.commit()
+
+        eq_(e1.boss_name, 'dogbert')
+        eq_(e2.boss_name, 'dogbert')
+        sess.expire_all()
         
         m1.name = 'pointy haired'
         e1.primary_language = 'scala'
         e2.primary_language = 'cobol'
         sess.commit()
         
-    
+        eq_(e1.boss_name, 'pointy haired')
+        eq_(e2.boss_name, 'pointy haired')