Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /JeanExtreme002_Dokku-API /src /tests /test_api.py
| from unittest import IsolatedAsyncioTestCase | |
| from fastapi.testclient import TestClient | |
| from src.api.app import get_app | |
| app = get_app() | |
| client = TestClient(app) | |
| class TestFastAPI(IsolatedAsyncioTestCase): | |
| def test_api_health(self): | |
| """ | |
| Test if server is alive. | |
| """ | |
| response = client.get("/") | |
| self.assertEqual(response.status_code, 200) | |
Xet Storage Details
- Size:
- 385 Bytes
- Xet hash:
- f0bd46a2c50a818904c06772499733dff6d88eeca0e15ff7c358ea5bbabbb4a8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.