Skip to content

Commit 6a95fd5

Browse files
committed
feat: Resolving pytest issues
1 parent a190053 commit 6a95fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def test_frontend_renders(monkeypatch):
66
# Mock the API call inside frontend
7-
with patch("src.app.frontend.requests.post") as mock_post:
7+
with patch("app.frontend.requests.post") as mock_post:
88
mock_post.return_value.json.return_value = {"predicted_success_score": 42.0}
99
frontend.run() # or the main function that starts Streamlit
1010
# Assert code paths, or just that it runs without exceptions

0 commit comments

Comments
 (0)