mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Updated tests for artifactory username/password encoding
This commit is contained in:
parent
c01b6b3808
commit
b8bb8f4c70
1 changed files with 4 additions and 4 deletions
|
@ -278,7 +278,7 @@ def test_get_latest_snapshot_username_password():
|
|||
save_artifact_mock.assert_called_with(
|
||||
"http://artifactory.example.com/artifactory/snapshot",
|
||||
"/path/to/file",
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA==\n"},
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA=="},
|
||||
)
|
||||
|
||||
|
||||
|
@ -305,7 +305,7 @@ def test_get_snapshot_username_password():
|
|||
save_artifact_mock.assert_called_with(
|
||||
"http://artifactory.example.com/artifactory/snapshot",
|
||||
"/path/to/file",
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA==\n"},
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA=="},
|
||||
)
|
||||
|
||||
|
||||
|
@ -334,7 +334,7 @@ def test_get_latest_release_username_password():
|
|||
save_artifact_mock.assert_called_with(
|
||||
"http://artifactory.example.com/artifactory/release",
|
||||
"/path/to/file",
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA==\n"},
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA=="},
|
||||
)
|
||||
|
||||
|
||||
|
@ -361,7 +361,7 @@ def test_get_release_username_password():
|
|||
save_artifact_mock.assert_called_with(
|
||||
"http://artifactory.example.com/artifactory/release",
|
||||
"/path/to/file",
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA==\n"},
|
||||
{"Authorization": "Basic dXNlcjpwYXNzd29yZA=="},
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue