]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
disable interval tests on oracle+zxjdbc for now, and also test_fk_nonpassive
authorPhilip Jenvey <pjenvey@underboss.org>
Sat, 13 Mar 2010 01:50:33 +0000 (17:50 -0800)
committerPhilip Jenvey <pjenvey@underboss.org>
Sat, 13 Mar 2010 01:50:33 +0000 (17:50 -0800)
test/dialect/test_oracle.py
test/orm/test_naturalpks.py
test/sql/test_types.py

index 5b64165d86f69df1741e3a08fd6094f2ed6c1a5e..d007428a7c98f9f8fa7d7f4b126e66a6afe2683a 100644 (file)
@@ -487,6 +487,7 @@ class TypesTest(TestBase, AssertsCompiledSQL):
         finally:
             t1.drop()
     
+    @testing.fails_on('+zxjdbc', 'Not yet known how to pass values of the INTERVAL type')
     def test_interval(self):
 
         for type_, expected in [
index 44dce446b5efe85a398f84e979e845b7b24fb763..7c7e51b733ff3025775204f2f49d21b3d4c59fc7 100644 (file)
@@ -747,7 +747,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', '+zxjdbc')
+    @testing.fails_on_everything_except('sqlite', 'mysql+zxjdbc', 'postgresql+zxjdbc')
     def test_fk_nonpassive(self):
         self._test_fk(False)
 
index 6a021b96f2cbe518d0c190c26156e5a890b50daf..6404783a5a97f3cec38bcf6602867b2a066fdcb7 100644 (file)
@@ -1197,6 +1197,7 @@ class IntervalTest(TestBase, AssertsExecutionResults):
 
     @testing.fails_on("+pg8000", "Not yet known how to pass values of the INTERVAL type")
     @testing.fails_on("postgresql+zxjdbc", "Not yet known how to pass values of the INTERVAL type")
+    @testing.fails_on("oracle+zxjdbc", "Not yet known how to pass values of the INTERVAL type")
     def test_roundtrip(self):
         small_delta = datetime.timedelta(days=15, seconds=5874)
         delta = datetime.timedelta(414)
@@ -1210,6 +1211,7 @@ class IntervalTest(TestBase, AssertsExecutionResults):
         eq_(row['native_interval_args'], delta)
         eq_(row['non_native_interval'], delta)
 
+    @testing.fails_on("oracle+zxjdbc", "Not yet known how to pass values of the INTERVAL type")
     def test_null(self):
         interval_table.insert().execute(id=1, native_inverval=None, non_native_interval=None)
         row = interval_table.select().execute().first()