Test that close can be called multiple times.
(self)
| 88 | """Tests for ControlClient close.""" |
| 89 | |
| 90 | def test_close_idempotent(self): |
| 91 | """Test that close can be called multiple times.""" |
| 92 | client = ControlClient("/tmp/test.sock") |
| 93 | client.close() |
| 94 | client.close() # Should not raise |
| 95 | |
| 96 | def test_close_clears_socket(self): |
| 97 | """Test that close clears the socket.""" |
nothing calls this directly
no test coverage detected