(self)
| 69 | assert len(connections) == 5 |
| 70 | |
| 71 | def test_manager_clear(self) -> None: |
| 72 | p = PoolManager(5) |
| 73 | |
| 74 | p.connection_from_url("http://google.com") |
| 75 | assert len(p.pools) == 1 |
| 76 | |
| 77 | p.clear() |
| 78 | assert len(p.pools) == 0 |
| 79 | |
| 80 | @pytest.mark.parametrize("url", ["http://@", None]) |
| 81 | def test_nohost(self, url: str | None) -> None: |
nothing calls this directly
no test coverage detected