diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-06-03 18:11:32 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-06-03 18:11:32 -0400 |
| commit | f1bdc3e999b4ad76515a6452099e3c26d7b4228b (patch) | |
| tree | f8a324f5030babbf30ba30b60e2949738634c65d /test/engine/test_reflection.py | |
| parent | 8a865a4d1f7bf7d399a551ae1c3f93e668ccc8aa (diff) | |
| download | sqlalchemy-f1bdc3e999b4ad76515a6452099e3c26d7b4228b.tar.gz | |
- clean up some of the requires for cross-schema reflection
- add oracle profile counts
Diffstat (limited to 'test/engine/test_reflection.py')
| -rw-r--r-- | test/engine/test_reflection.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/engine/test_reflection.py b/test/engine/test_reflection.py index eefa68728..ac0fa5153 100644 --- a/test/engine/test_reflection.py +++ b/test/engine/test_reflection.py @@ -1146,15 +1146,13 @@ class UnicodeReflectionTest(fixtures.TestBase): class SchemaTest(fixtures.TestBase): @testing.requires.schemas - @testing.fails_on_everything_except("postgresql", "unimplemented feature") + @testing.requires.cross_schema_fk_reflection def test_has_schema(self): eq_(testing.db.dialect.has_schema(testing.db, 'test_schema'), True) eq_(testing.db.dialect.has_schema(testing.db, 'sa_fake_schema_123'), False) - @testing.crashes('firebird', 'No schema support') + @testing.requires.schemas @testing.fails_on('sqlite', 'FIXME: unknown') - # fixme: revisit these below. - @testing.fails_on('access', 'FIXME: unknown') @testing.fails_on('sybase', 'FIXME: unknown') def test_explicit_default_schema(self): engine = testing.db @@ -1193,9 +1191,7 @@ class SchemaTest(fixtures.TestBase): finally: metadata.drop_all() - @testing.crashes('firebird', 'No schema support') - # fixme: revisit these below. - @testing.fails_on('access', 'FIXME: unknown') + @testing.requires.schemas @testing.fails_on('sybase', 'FIXME: unknown') def test_explicit_default_schema_metadata(self): engine = testing.db @@ -1246,6 +1242,7 @@ class SchemaTest(fixtures.TestBase): ) @testing.requires.schemas + @testing.requires.cross_schema_fk_reflection @testing.provide_metadata def test_reflect_all_schemas_default_overlap(self): t1 = Table('t', self.metadata, |
