File size: 280 Bytes
25a2c1c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import asyncio
from fastapi.testclient import TestClient
from gateway import app

client = TestClient(app)

def test_docs_url():
    response = client.get("/api-docs")
    assert response.status_code == 200

if __name__ == "__main__":
    test_docs_url()
    print("Test passed")