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(
54
54
def test_resolve_behavior (
55
55
tmp_path : pathlib .Path , monkeypatch : pytest .MonkeyPatch
56
56
) -> None :
57
- expect = str ( tmp_path )
57
+ expect = tmp_path
58
58
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
64
63
65
64
66
65
def test_get_tmuxinator_dir (monkeypatch : pytest .MonkeyPatch ) -> None :
You can’t perform that action at this time.
0 commit comments