forked from kenzuya/unshackle
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -7,18 +7,6 @@ import pytest
|
||||
pytestmark = [pytest.mark.live]
|
||||
|
||||
|
||||
def test_remote_client_get_health(remote_client) -> None:
|
||||
body = remote_client.get("/api/health")
|
||||
assert body["status"] == "ok"
|
||||
assert "version" in body
|
||||
|
||||
|
||||
def test_remote_client_get_services(remote_client) -> None:
|
||||
body = remote_client.get("/api/services")
|
||||
assert "services" in body
|
||||
assert isinstance(body["services"], list)
|
||||
|
||||
|
||||
def test_remote_client_get_404_raises_systemexit(remote_client) -> None:
|
||||
with pytest.raises(SystemExit):
|
||||
remote_client.get("/api/session/this-does-not-exist")
|
||||
|
||||
Reference in New Issue
Block a user