Skip to content

Commit d1e08e6

Browse files
committed
undoing play time
1 parent 81dc372 commit d1e08e6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test_ml.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@
66
from ml.model import train_model, inference, compute_model_metrics
77
from ml.data import process_data
88

9-
from fastapi.testclient import TestClient
10-
11-
# Import our app from main.py.
12-
from main import app
13-
14-
# Instantiate the testing client with our app.
15-
client = TestClient(app)
16-
17-
# Write tests using the same syntax as with the requests module.
18-
def test_api_locally_get_root():
19-
r = client.get("/")
20-
assert r.status_code == 200
219

2210
# Synthetic data fixture
2311
def get_sample_data():

0 commit comments

Comments
 (0)