Skip to content

Commit

Permalink
fix: fixed file path
Browse files Browse the repository at this point in the history
  • Loading branch information
sahi-mfg committed Feb 19, 2024
1 parent b861c3f commit 8e641b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@


def test_predict():
filepath = "files/picture.jpeg"
filepath = "../tests/files/picture.jpeg"
response = client.post("/predict", files={"file": ("filename", open(filepath, "rb"), "image/jpeg")})
assert response.status_code == 200

0 comments on commit 8e641b6

Please sign in to comment.