Black and changelog added for 63060

This commit is contained in:
Tyler Levy Conde 2024-04-02 16:19:58 -06:00 committed by Pedro Algarvio
parent a649fec423
commit e9c86090ae
2 changed files with 3 additions and 0 deletions

1
changelog/63060.fixed.md Normal file
View file

@ -0,0 +1 @@
file.managed correctly handles file path with '#'

View file

@ -223,6 +223,8 @@ def test_get_file_client(file_client):
with patch("salt.fileclient.RemoteClient", MagicMock(return_value="remote_client")):
ret = fileclient.get_file_client(minion_opts)
assert "remote_client" == ret
def test_get_url_with_hash(client_opts):
"""
Test get_url function with a URL containing a hash character.