Skip to content

Commit

Permalink
improve data-regression readability
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmanjacobd committed Oct 20, 2024
1 parent 4bd5cfa commit f37e61c
Show file tree
Hide file tree
Showing 199 changed files with 285 additions and 248 deletions.
8 changes: 7 additions & 1 deletion tests/folders/test_merge_mv.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@ def test_merge(assert_unchanged, src_type, dest_type, dest_opt, file_over_file_m
{
"src1_before": src1_before,
"dest_before": dest_before,
"command": " ".join([*cmd, f"src1:{src_type}", f"dest:{dest_type}"]),
"command": " ".join(
[
*cmd,
f"{src1_arg.replace(src1, "/src1")}:{src_type}",
f"{dest_arg.replace(dest, "/dest")}:{dest_type}",
]
),
"src1_after": src1_after,
"dest_after": dest_after,
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd src1:bsd dest:clobber_file
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd /src1:bsd /dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:file dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/file4.txt:file /dest/file4.txt:clobber_file
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:folder dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/:folder /dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:not_exist dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-bsd /src1:not_exist /dest/file4.txt:clobber_file
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-bsd src1:parent dest:clobber_file
command: merge-mv --file-over-file delete-dest --parent --dest-bsd /src1/file4.txt:parent
/dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd src1:bsd dest:clobber_folder
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd /src1:bsd /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:file dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/file4.txt:file /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:folder dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/:folder /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:not_exist dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-bsd /src1:not_exist /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-bsd src1:parent dest:clobber_folder
command: merge-mv --file-over-file delete-dest --parent --dest-bsd /src1/file4.txt:parent
/dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd src1:bsd dest:folder_merge
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd /src1:bsd /dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:file dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/file4.txt:file /dest:folder_merge
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:folder dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/:folder /dest:folder_merge
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:not_exist dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-bsd /src1:not_exist /dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-bsd src1:parent dest:folder_merge
command: merge-mv --file-over-file delete-dest --parent --dest-bsd /src1/file4.txt:parent
/dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd src1:bsd dest:not_exist
command: merge-mv --file-over-file delete-dest --bsd --dest-bsd /src1:bsd /dest:not_exist
dest_after:
src1:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:file dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/file4.txt:file /dest:not_exist
dest_after:
file4.txt: '5'
dest_before: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:folder dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-bsd /src1/:folder /dest:not_exist
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-bsd src1:not_exist dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-bsd /src1:not_exist /dest:not_exist
dest_after: {}
dest_before: {}
src1_after: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-bsd src1:parent dest:not_exist
command: merge-mv --file-over-file delete-dest --parent --dest-bsd /src1/file4.txt:parent
/dest:not_exist
dest_after:
src1:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-file src1:bsd dest:clobber_file
command: merge-mv --file-over-file delete-dest --bsd --dest-file /src1:bsd /dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:file dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-file /src1/file4.txt:file /dest/file4.txt:clobber_file
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:folder dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-file /src1/:folder /dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:not_exist dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-file /src1:not_exist /dest/file4.txt:clobber_file
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-file src1:parent dest:clobber_file
command: merge-mv --file-over-file delete-dest --parent --dest-file /src1/file4.txt:parent
/dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-file src1:bsd dest:clobber_folder
command: merge-mv --file-over-file delete-dest --bsd --dest-file /src1:bsd /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:file dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-file /src1/file4.txt:file /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:folder dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-file /src1/:folder /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:not_exist dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-file /src1:not_exist /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-file src1:parent dest:clobber_folder
command: merge-mv --file-over-file delete-dest --parent --dest-file /src1/file4.txt:parent
/dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-file src1:bsd dest:folder_merge
command: merge-mv --file-over-file delete-dest --bsd --dest-file /src1:bsd /dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:file dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-file /src1/file4.txt:file /dest:folder_merge
dest_after:
dest: '5'
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:folder dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-file /src1/:folder /dest:folder_merge
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:not_exist dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-file /src1:not_exist /dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-file src1:parent dest:folder_merge
command: merge-mv --file-over-file delete-dest --parent --dest-file /src1/file4.txt:parent
/dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-file src1:bsd dest:not_exist
command: merge-mv --file-over-file delete-dest --bsd --dest-file /src1:bsd /dest:not_exist
dest_after:
src1:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:file dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-file /src1/file4.txt:file /dest:not_exist
dest_after:
dest: '5'
dest_before: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:folder dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-file /src1/:folder /dest:not_exist
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-file src1:not_exist dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-file /src1:not_exist /dest:not_exist
dest_after: {}
dest_before: {}
src1_after: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-file src1:parent dest:not_exist
command: merge-mv --file-over-file delete-dest --parent --dest-file /src1/file4.txt:parent
/dest:not_exist
dest_after:
src1: '5'
dest_before: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-folder src1:bsd dest:clobber_file
command: merge-mv --file-over-file delete-dest --bsd --dest-folder /src1:bsd /dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:file dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-folder /src1/file4.txt:file
/dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:folder dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-folder /src1/:folder /dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:not_exist dest:clobber_file
command: merge-mv --file-over-file delete-dest --dest-folder /src1:not_exist /dest/file4.txt:clobber_file
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-folder src1:parent
dest:clobber_file
command: merge-mv --file-over-file delete-dest --parent --dest-folder /src1/file4.txt:parent
/dest/file4.txt:clobber_file
dest_after:
file4.txt:
file4.txt: '4'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-folder src1:bsd dest:clobber_folder
command: merge-mv --file-over-file delete-dest --bsd --dest-folder /src1:bsd /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:file dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-folder /src1/file4.txt:file
/dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:folder dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-folder /src1/:folder /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:not_exist dest:clobber_folder
command: merge-mv --file-over-file delete-dest --dest-folder /src1:not_exist /dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-folder src1:parent
dest:clobber_folder
command: merge-mv --file-over-file delete-dest --parent --dest-folder /src1/file4.txt:parent
/dest/folder1:clobber_folder
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-folder src1:bsd dest:folder_merge
command: merge-mv --file-over-file delete-dest --bsd --dest-folder /src1:bsd /dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:file dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-folder /src1/file4.txt:file
/dest:folder_merge
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:folder dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-folder /src1/:folder /dest:folder_merge
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:not_exist dest:folder_merge
command: merge-mv --file-over-file delete-dest --dest-folder /src1:not_exist /dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-folder src1:parent
dest:folder_merge
command: merge-mv --file-over-file delete-dest --parent --dest-folder /src1/file4.txt:parent
/dest:folder_merge
dest_after:
file4.txt: '4'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --bsd --dest-folder src1:bsd dest:not_exist
command: merge-mv --file-over-file delete-dest --bsd --dest-folder /src1:bsd /dest:not_exist
dest_after:
src1:
file4.txt: '5'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:file dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-folder /src1/file4.txt:file
/dest:not_exist
dest_after:
file4.txt: '5'
dest_before: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:folder dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-folder /src1/:folder /dest:not_exist
dest_after:
file4.txt: '5'
folder1:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: merge-mv --file-over-file delete-dest --dest-folder src1:not_exist dest:not_exist
command: merge-mv --file-over-file delete-dest --dest-folder /src1:not_exist /dest:not_exist
dest_after: {}
dest_before: {}
src1_after: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
command: merge-mv --file-over-file delete-dest --parent --dest-folder src1:parent
dest:not_exist
command: merge-mv --file-over-file delete-dest --parent --dest-folder /src1/file4.txt:parent
/dest:not_exist
dest_after:
src1:
file4.txt: '5'
Expand Down
Loading

0 comments on commit f37e61c

Please sign in to comment.