Skip to content

Commit a30f769

Browse files
Cast as string
1 parent 45ddab4 commit a30f769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_full_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def post(body, response):
4040
def test_hug_post(tmp_path):
4141
hug_test_file = (tmp_path / "hug_postable.py")
4242
hug_test_file.write_text(TEST_HUG_API)
43-
hug_server = Popen(['hug', '-f', hug_test_file])
43+
hug_server = Popen(['hug', '-f', str(hug_test_file)])
4444
time.sleep(1)
4545
requests.post('http://localhost:8000/test', {'data': 'here'})
4646
hug_server.kill()

0 commit comments

Comments
 (0)