Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
praneeth-hakeem-patrick
/
backend
like
0
Sleeping
App
Files
Files
Community
17
d4e18c8
backend
/
tests
/
test_main.py
praneethys
postgres database integration (
#3
)
d5684b3
verified
5 months ago
raw
Copy download link
history
blame
Safe
183 Bytes
from
main
import
app
from
fastapi.testclient
import
TestClient
client = TestClient(app)
def
test_read_main
():
response = client.get(
"/"
)
assert
response.status_code ==
200