Skip to content

Commit e172011

Browse files
committed
tests/cli(test[add]): ensure workspace label uses tilde
why: The regression test now verifies shows '~/study/python/' even when run from that workspace. what: - remove xfail and assert both log and config store the tilde-labelled workspace
1 parent 4015dc3 commit e172011

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/cli/test_add.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -892,12 +892,6 @@ def test_add_repo_no_merge_preserves_duplicate_sections(
892892
assert contains_new_repo, f"{test_id}: new repo missing from duplicate sections"
893893

894894

895-
@pytest.mark.xfail(
896-
reason=(
897-
"vcspull add run from the workspace root labels the workspace as './' "
898-
"instead of the expected '~/…/' path"
899-
),
900-
)
901895
def test_handle_add_command_workspace_label_from_workspace_root(
902896
tmp_path: pathlib.Path,
903897
monkeypatch: MonkeyPatch,

0 commit comments

Comments
 (0)