diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-25 14:19:47 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-08-25 14:19:47 -0400 |
| commit | e4ff3d2a35af1daa36f8cdbff8d72d08dfa8738e (patch) | |
| tree | 403828e91b0287d7df9046c415f83c54155d56ec /test/dialect/test_oracle.py | |
| parent | 752750ea7e4cd026655f0dea19998821a08ac35a (diff) | |
| download | sqlalchemy-e4ff3d2a35af1daa36f8cdbff8d72d08dfa8738e.tar.gz | |
oracle fixes...
Diffstat (limited to 'test/dialect/test_oracle.py')
| -rw-r--r-- | test/dialect/test_oracle.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/dialect/test_oracle.py b/test/dialect/test_oracle.py index fa6e4a85f..25d3cab16 100644 --- a/test/dialect/test_oracle.py +++ b/test/dialect/test_oracle.py @@ -1312,13 +1312,15 @@ class BufferedColumnTest(fixtures.TestBase, AssertsCompiledSQL): meta.drop_all() def test_fetch(self): - result = binary_table.select().execute().fetchall() + result = binary_table.select().order_by(binary_table.c.id).\ + execute().fetchall() eq_(result, [(i, stream) for i in range(1, 11)]) @testing.fails_on('+zxjdbc', 'FIXME: zxjdbc should support this') def test_fetch_single_arraysize(self): - eng = testing_engine(options={'arraysize':1}) - result = eng.execute(binary_table.select()).fetchall() + eng = testing_engine(options={'arraysize': 1}) + result = eng.execute(binary_table.select(). + order_by(binary_table.c.id)).fetchall() eq_(result, [(i, stream) for i in range(1, 11)]) class UnsupportedIndexReflectTest(fixtures.TestBase): |
