From: Philip Jenvey Date: Sat, 13 Mar 2010 01:50:33 +0000 (-0800) Subject: disable interval tests on oracle+zxjdbc for now, and also test_fk_nonpassive X-Git-Tag: rel_0_6beta2~54^2~15^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea254ea7a6ff10cb9082130358c1c2e30301347;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git disable interval tests on oracle+zxjdbc for now, and also test_fk_nonpassive --- diff --git a/test/dialect/test_oracle.py b/test/dialect/test_oracle.py index 5b64165d86..d007428a7c 100644 --- a/test/dialect/test_oracle.py +++ b/test/dialect/test_oracle.py @@ -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 [ diff --git a/test/orm/test_naturalpks.py b/test/orm/test_naturalpks.py index 44dce446b5..7c7e51b733 100644 --- a/test/orm/test_naturalpks.py +++ b/test/orm/test_naturalpks.py @@ -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) diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 6a021b96f2..6404783a5a 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -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()