(self)
| 717 | e.connect() |
| 718 | |
| 719 | def test_recycle(self): |
| 720 | dbapi = MockDBAPI( |
| 721 | foober=12, lala=18, hoho={"this": "dict"}, fooz="somevalue" |
| 722 | ) |
| 723 | e = create_engine( |
| 724 | "postgresql+psycopg2://", |
| 725 | pool_recycle=472, |
| 726 | module=dbapi, |
| 727 | _initialize=False, |
| 728 | ) |
| 729 | assert e.pool._recycle == 472 |
| 730 | |
| 731 | def test_reset_on_return(self): |
| 732 | dbapi = MockDBAPI( |
nothing calls this directly
no test coverage detected