Test that the timeout is disabled on a generic socket object.
(self)
| 635 | self.client = APIClient(version=DEFAULT_DOCKER_API_VERSION) |
| 636 | |
| 637 | def test_disable_socket_timeout(self): |
| 638 | """Test that the timeout is disabled on a generic socket object.""" |
| 639 | socket = self.DummySocket() |
| 640 | |
| 641 | self.client._disable_socket_timeout(socket) |
| 642 | |
| 643 | assert socket.timeout is None |
| 644 | |
| 645 | def test_disable_socket_timeout2(self): |
| 646 | """Test that the timeouts are disabled on a generic socket object |
nothing calls this directly
no test coverage detected