(self)
| 1443 | ) |
| 1444 | |
| 1445 | def test_per_engine(self): |
| 1446 | # new in 0.9 |
| 1447 | eng = testing_engine( |
| 1448 | testing.db.url, |
| 1449 | options=dict( |
| 1450 | execution_options={ |
| 1451 | "isolation_level": self._non_default_isolation_level() |
| 1452 | } |
| 1453 | ), |
| 1454 | ) |
| 1455 | with eng.connect() as conn: |
| 1456 | eq_( |
| 1457 | eng.dialect.get_isolation_level( |
| 1458 | conn.connection.dbapi_connection |
| 1459 | ), |
| 1460 | self._non_default_isolation_level(), |
| 1461 | ) |
| 1462 | |
| 1463 | def test_per_option_engine(self): |
| 1464 | eng = testing_engine(testing.db.url).execution_options( |
nothing calls this directly
no test coverage detected