Skip to content

Commit

Permalink
Merge branch 'cluster-folder-methods' into use-cluster-folder-apis
Browse files Browse the repository at this point in the history
# Conflicts:
#	tests/test_resources/test_clusters/test_cluster.py
  • Loading branch information
jlewitt1 committed Aug 12, 2024
2 parents 39dce2e + 95046a0 commit fd26926
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_resources/test_clusters/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,12 @@ def test_cluster_mkdir_mv_and_rm(self, cluster):
assert "new-folder" in [os.path.basename(f) for f in file_contents]

# Should not be able to mv to an existing directory if `overwrite=False`
cluster._folder_mkdir(path="~/.rh/another-new-folder")
with pytest.raises(Exception):
cluster._folder_mv(
path="~/.rh/new-folder", dest_path="~/new-folder", overwrite=False
path="~/.rh/another-new-folder",
dest_path="~/new-folder",
overwrite=False,
)

# Delete folder contents and directory itself
Expand Down

0 comments on commit fd26926

Please sign in to comment.