diff options
| author | Federico Caselli <cfederico87@gmail.com> | 2020-09-08 22:00:25 +0200 |
|---|---|---|
| committer | Federico Caselli <cfederico87@gmail.com> | 2020-09-08 22:00:25 +0200 |
| commit | 721b00e7531fe61376fb0e5eb258c5ee56c9266f (patch) | |
| tree | 3765d3d95661b600237f93b6829732e19399b579 /test/dialect/postgresql/test_dialect.py | |
| parent | 0d56a62f721ee6c91d8a8b6a407b959c9215b3b6 (diff) | |
| download | sqlalchemy-721b00e7531fe61376fb0e5eb258c5ee56c9266f.tar.gz | |
Fix typo in I0ad6d7a095e49d331618274c40ce75c76afdc7dd
Change-Id: I649662d440f83df379922e8c967d28f635f9c85b
Diffstat (limited to 'test/dialect/postgresql/test_dialect.py')
| -rw-r--r-- | test/dialect/postgresql/test_dialect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dialect/postgresql/test_dialect.py b/test/dialect/postgresql/test_dialect.py index 83bc6cac8..13df1ce0f 100644 --- a/test/dialect/postgresql/test_dialect.py +++ b/test/dialect/postgresql/test_dialect.py @@ -39,6 +39,7 @@ from sqlalchemy.engine import url from sqlalchemy.testing import engines from sqlalchemy.testing import fixtures from sqlalchemy.testing import is_ +from sqlalchemy.testing import is_true from sqlalchemy.testing import mock from sqlalchemy.testing.assertions import assert_raises from sqlalchemy.testing.assertions import assert_raises_message @@ -749,6 +750,7 @@ class MiscBackendTest( val = cursor.fetchone()[0] cursor.close() eq_(val, "on") + is_true(testing.db.dialect.get_readonly(dbapi_conn)) cursor = dbapi_conn.cursor() try: @@ -774,6 +776,7 @@ class MiscBackendTest( val = cursor.fetchone()[0] cursor.close() eq_(val, "on") + is_true(testing.db.dialect.get_deferrable(dbapi_conn)) cursor = dbapi_conn.cursor() try: |
