Skip to content

Commit 64e0f97

Browse files
committed
test(CLI): Fix test_resolve_behavior
1 parent 47500e5 commit 64e0f97

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/cli/test_cli.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,12 @@ def test_help(
5454
def 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

6665
def test_get_tmuxinator_dir(monkeypatch: pytest.MonkeyPatch) -> None:

0 commit comments

Comments
 (0)