(self)
| 964 | ) |
| 965 | |
| 966 | def test_pool_creation(self): |
| 967 | pp = create_pool_from_url("sqlite://") |
| 968 | engine_pool = create_engine("sqlite://").pool |
| 969 | eq_(pp.__class__, engine_pool.__class__) |
| 970 | pp = create_pool_from_url("sqlite://", pre_ping=True) |
| 971 | is_true(pp._pre_ping) |
| 972 | is_false(isinstance(pp, NullPool)) |
| 973 | |
| 974 | def test_pool_creation_custom_class(self): |
| 975 | pp = create_pool_from_url("sqlite://", poolclass=NullPool) |
nothing calls this directly
no test coverage detected