diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-05-09 20:26:09 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-05-09 20:26:09 +0000 |
commit | e41c0f4107a132b2feac83ba07a25a336e7eae0b (patch) | |
tree | 09c785fd5ef9557c3fc926afd7e0a78702dd8023 /test/dialect/postgres.py | |
parent | a2122a89f6d4f2d3ccc4ba7665cd588c2b0b93b0 (diff) | |
download | sqlalchemy-e41c0f4107a132b2feac83ba07a25a336e7eae0b.tar.gz |
Test suite modernization in progress. Big changes:
- @unsupported now only accepts a single target and demands a reason
for not running the test.
- @exclude also demands an exclusion reason
- Greatly expanded @testing.requires.<feature>, eliminating many
decorators in the suite and signficantly easing integration of
multi-driver support.
- New ORM test base class, and a featureful base for mapped tests
- Usage of 'global' for shared setup going away, * imports as well
Diffstat (limited to 'test/dialect/postgres.py')
-rw-r--r-- | test/dialect/postgres.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dialect/postgres.py b/test/dialect/postgres.py index 3e5c200e4..83ca6c6f6 100644 --- a/test/dialect/postgres.py +++ b/test/dialect/postgres.py @@ -61,7 +61,7 @@ class CompileTest(TestBase, AssertsCompiledSQL): class ReturningTest(TestBase, AssertsExecutionResults): __only_on__ = 'postgres' - @testing.exclude('postgres', '<', (8, 2)) + @testing.exclude('postgres', '<', (8, 2), '8.3+ feature') def test_update_returning(self): meta = MetaData(testing.db) table = Table('tables', meta, @@ -81,7 +81,7 @@ class ReturningTest(TestBase, AssertsExecutionResults): finally: table.drop() - @testing.exclude('postgres', '<', (8, 2)) + @testing.exclude('postgres', '<', (8, 2), '8.3+ feature') def test_insert_returning(self): meta = MetaData(testing.db) table = Table('tables', meta, |