Test that sync client can check if service is reachable.
()
| 180 | |
| 181 | |
| 182 | def test_sync_client_is_reachable(): |
| 183 | """Test that sync client can check if service is reachable.""" |
| 184 | client = DstackClient() |
| 185 | is_reachable = client.is_reachable() |
| 186 | assert isinstance(is_reachable, bool) |
| 187 | assert is_reachable |
| 188 | |
| 189 | |
| 190 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected