File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,12 @@ def test_help(
5454def test_resolve_behavior (
5555 tmp_path : pathlib .Path , monkeypatch : pytest .MonkeyPatch
5656) -> None :
57- expect = str ( tmp_path )
57+ expect = tmp_path
5858 monkeypatch .chdir (tmp_path )
59- # TODO Add asserts, this breaks
60- pathlib .Path ("../" ).resolve () == os .path .dirname (expect )
61- pathlib .Path ("." ).resolve () == expect
62- pathlib .Path ("./" ).resolve () == expect
63- pathlib .Path (expect ).resolve () == expect
59+ assert pathlib .Path ("../" ).resolve () == pathlib .Path (os .path .dirname (expect ))
60+ assert pathlib .Path ("." ).resolve () == expect
61+ assert pathlib .Path ("./" ).resolve () == expect
62+ assert pathlib .Path (expect ).resolve () == expect
6463
6564
6665def test_get_tmuxinator_dir (monkeypatch : pytest .MonkeyPatch ) -> None :
You can’t perform that action at this time.
0 commit comments