diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-04-29 16:42:37 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-04-29 16:42:37 +0000 |
| commit | deb80dbc7b1e0ec23c7eac6b1cd24799b1fb6b58 (patch) | |
| tree | b6f5da87a61a9f847939cacbab873b8bf6803696 /test/defaults.py | |
| parent | 337d3b268562f421b6bb0e445c6f2ba187514a4b (diff) | |
| download | sqlalchemy-deb80dbc7b1e0ec23c7eac6b1cd24799b1fb6b58.tar.gz | |
added 'supports', 'unsupports' decorators to unittests so that they can all pass on all DBs
Diffstat (limited to 'test/defaults.py')
| -rw-r--r-- | test/defaults.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/defaults.py b/test/defaults.py index 096355826..8d848f4c5 100644 --- a/test/defaults.py +++ b/test/defaults.py @@ -131,7 +131,8 @@ class SequenceTest(PersistTest): ) cartitems.create() - + + @testbase.supported('postgres', 'oracle') def testsequence(self): cartitems.insert().execute(description='hi') cartitems.insert().execute(description='there') @@ -140,6 +141,7 @@ class SequenceTest(PersistTest): cartitems.select().execute().fetchall() + @testbase.supported('postgres', 'oracle') def teststandalone(self): s = Sequence("my_sequence", engine=db) s.create() @@ -149,6 +151,7 @@ class SequenceTest(PersistTest): finally: s.drop() + @testbase.supported('postgres', 'oracle') def teststandalone2(self): x = cartitems.c.cart_id.sequence.execute() self.assert_(1 <= x <= 4) |
