From 9476247fb6f757d0ac3c2dfc9cc8858b4e78e31d Mon Sep 17 00:00:00 2001 From: Oscar Levin Date: Fri, 11 Aug 2023 22:03:42 +0000 Subject: [PATCH] Get serve test working --- tests/test_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_project.py b/tests/test_project.py index 94ae385a..d87f2abd 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -87,7 +87,7 @@ def test_serve(tmp_path: Path) -> None: with open(dir / "index.html", "w") as index_file: print("", file=index_file) assert (dir / "index.html").exists() - r = requests.get(f"http://localhost:{port}/index.html") + r = requests.get(f"http://localhost:{port}/{dir}/index.html") assert r.status_code == 200 p.terminate()