We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf19b04 commit 094bf4eCopy full SHA for 094bf4e
tests/test_urldispatch.py
@@ -358,7 +358,7 @@ def test_add_static_path_resolution(router: any) -> None:
358
"""Test that static paths are expanded and absolute."""
359
res = router.add_static("/", "~/..")
360
directory = str(res.get_info()["directory"])
361
- assert directory == str(pathlib.Path.home().parent)
+ assert directory == str(pathlib.Path.home().resolve(strict=True).parent)
362
363
364
def test_add_static(router) -> None:
0 commit comments