Test that client is initialized with correct attributes.
(self)
| 23 | """Tests for ControlClient initialization.""" |
| 24 | |
| 25 | def test_init_attributes(self): |
| 26 | """Test that client is initialized with correct attributes.""" |
| 27 | client = ControlClient("/tmp/test.sock", timeout=60.0) |
| 28 | |
| 29 | assert client.socket_path == "/tmp/test.sock" |
| 30 | assert client.timeout == 60.0 |
| 31 | assert client._sock is None |
| 32 | assert client._request_id == 0 |
| 33 | |
| 34 | |
| 35 | class TestControlClientConnect: |
nothing calls this directly
no test coverage detected