Skip to content

Commit e285b82

Browse files
committed
tests: remove internal refactoring entry + snapshots
why: Refactoring had no user-visible behavior changes; update test snapshots for new explicit ./ workspace tests. what: - Remove CHANGES entry about internal legacy heuristics cleanup - Add snapshots for path-explicit-dot-workspace tests refs: Internal cleanup
1 parent ea8ecc9 commit e285b82

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

tests/cli/__snapshots__/test_add.ambr

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,36 @@
4949
'test_id': 'path-dry-run-shows-tilde-config',
5050
})
5151
# ---
52+
# name: test_handle_add_command_path_mode[path-explicit-dot-workspace-no-merge]
53+
dict({
54+
'log': '''
55+
INFO vcspull.cli.add:add.py:<line> Found new repository to import:
56+
INFO vcspull.cli.add:add.py:<line> + pytest-docker (https://github.com/example/dot-nomerge)
57+
INFO vcspull.cli.add:add.py:<line> • workspace: ./
58+
INFO vcspull.cli.add:add.py:<line> ↳ path: ~/study/python/pytest-docker
59+
INFO vcspull.cli.add:add.py:<line> ? Import this repository? [y/N]: y (auto-confirm)
60+
INFO vcspull.cli.add:add.py:<line> Config file ~/.vcspull.yaml not found. A new one will be created.
61+
INFO vcspull.cli.add:add.py:<line> ✓ Successfully added 'pytest-docker' (git+https://github.com/example/dot-nomerge) to ~/.vcspull.yaml under './'.
62+
63+
''',
64+
'test_id': 'path-explicit-dot-workspace-no-merge',
65+
})
66+
# ---
67+
# name: test_handle_add_command_path_mode[path-explicit-dot-workspace]
68+
dict({
69+
'log': '''
70+
INFO vcspull.cli.add:add.py:<line> Found new repository to import:
71+
INFO vcspull.cli.add:add.py:<line> + pytest-docker (https://github.com/example/dot)
72+
INFO vcspull.cli.add:add.py:<line> • workspace: ./
73+
INFO vcspull.cli.add:add.py:<line> ↳ path: ~/study/python/pytest-docker
74+
INFO vcspull.cli.add:add.py:<line> ? Import this repository? [y/N]: y (auto-confirm)
75+
INFO vcspull.cli.add:add.py:<line> Config file ~/.vcspull.yaml not found. A new one will be created.
76+
INFO vcspull.cli.add:add.py:<line> ✓ Successfully added 'pytest-docker' (git+https://github.com/example/dot) to ~/.vcspull.yaml under './'.
77+
78+
''',
79+
'test_id': 'path-explicit-dot-workspace',
80+
})
81+
# ---
5282
# name: test_handle_add_command_path_mode[path-explicit-url]
5383
dict({
5484
'log': '''

0 commit comments

Comments
 (0)