Files
unshackle/tests/remote/e2e/test_live_remote_client.py
T

13 lines
336 B
Python

"""E2E: drive the full RemoteClient HTTP surface against the running serve."""
from __future__ import annotations
import pytest
pytestmark = [pytest.mark.live]
def test_remote_client_get_404_raises_systemexit(remote_client) -> None:
with pytest.raises(SystemExit):
remote_client.get("/api/session/this-does-not-exist")