Spaces:
Running
Running
""" | |
/************************************************************************* | |
* | |
* CONFIDENTIAL | |
* __________________ | |
* | |
* Copyright (2024-2025) AI Labs, IronOne Technologies, LLC | |
* All Rights Reserved | |
* | |
* Author : Theekshana Samaradiwakara | |
* Description : Simple chains are stored in this file. | |
* CreatedDate : 10/10/2024 | |
* LastModifiedDate : 10/10/2024 | |
* Modified By : Theekshana Samaradiwakara | |
*************************************************************************/ | |
""" | |
from fastapi.testclient import TestClient | |
from reggpt.server import app | |
client = TestClient(app) | |
def test_get_health(): | |
response = client.get("/health") | |
assert response.status_code == 200 | |
assert len(response.json()) >= 1 |