diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-09-01 00:11:10 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-09-11 14:17:10 -0400 |
commit | 31f80b9eaeb3c3435b7f6679b41e434478b1d11c (patch) | |
tree | 9802d4470d78768ba2a8812b47fae0f91e689d5c /test/aaa_profiling/test_resultset.py | |
parent | 4c97ea116c3686cb03f566f16b0a0e9a9fd33968 (diff) | |
download | sqlalchemy-oracle_numeric.tar.gz |
Refactor for cx_Oracle version 6oracle_numeric
Drops support for cx_Oracle prior to version 5.x, reworks
numeric and binary support.
Fixes: #4064
Change-Id: Ib9ae9aba430c15cd2a6eeb4e5e3fd8e97b5fe480
Diffstat (limited to 'test/aaa_profiling/test_resultset.py')
-rw-r--r-- | test/aaa_profiling/test_resultset.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index 9ffa21cb6..2b0e8de9e 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -51,6 +51,20 @@ class ResultSetTest(fixtures.TestBase, AssertsExecutionResults): def test_unicode(self): [tuple(row) for row in t2.select().execute().fetchall()] + @profiling.function_call_count() + def test_raw_string(self): + stmt = 'SELECT %s FROM "table"' % ( + ", ".join("field%d" % fnum for fnum in range(NUM_FIELDS)) + ) + [tuple(row) for row in testing.db.execute(stmt).fetchall()] + + @profiling.function_call_count() + def test_raw_unicode(self): + stmt = "SELECT %s FROM table2" % ( + ", ".join("field%d" % fnum for fnum in range(NUM_FIELDS)) + ) + [tuple(row) for row in testing.db.execute(stmt).fetchall()] + def test_contains_doesnt_compile(self): row = t.select().execute().first() c1 = Column('some column', Integer) + \ |