Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
small fix
  • Loading branch information
SandrineP committed Aug 8, 2025
commit 4ebf43af77297ffb746db038e5de72f36ce8f8e6
4 changes: 2 additions & 2 deletions test/test_branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def test_branch_create_delete(xtl_clone, git2cpp_path, tmp_path, run_in_tmp_path
assert(p_list.stdout == ' foregone\n* master\n')

# Problem of right for "delete"? Maybe need a -D instead of -d
Comment thread
ianthomas23 marked this conversation as resolved.
Outdated
del_cmd = [git2cpp_path, 'branch', '-d', 'foregone']
p_del = subprocess.run(del_cmd, capture_output=True, cwd=tmp_path, text=True)
del_cmd = [git2cpp_path, 'branch', '-d', '-f', 'foregone']
p_del = subprocess.run(del_cmd, capture_output=True, cwd=xtl_path, text=True)
assert p_del.returncode == 0

p_list2 = subprocess.run(list_cmd, capture_output=True, cwd=xtl_path, text=True)
Expand Down