mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 07:19:35 +00:00
12 lines
314 B
Python
12 lines
314 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_operations_snapshot_public_demo(client):
|
|
r = await client.get("/api/v1/operations/snapshot")
|
|
assert r.status_code == 200
|
|
data = r.json()
|
|
assert data.get("demo_mode") is True
|
|
assert "connectors" in data
|
|
assert len(data["connectors"]) >= 1
|