Skip to content

Commit

Permalink
fix assertion in integration test to be not affceted by the ansible-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
yurnov committed Dec 17, 2024
1 parent 099b57e commit 5f48d1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/targets/helm_registry_auth/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
- "'push access denied' in _save_chart.stderr"
- "'authorization failed' in _save_chart.stderr"
- "_save_chart.rc != 0"
- "'localhost' not in _config_json.content | b64decode"
- "'localhost:{{ registry_port }}' not in _config_json.content | b64decode"

- name: Test module helm_registry_auth with wrong credentials
helm_registry_auth:
Expand All @@ -159,7 +159,7 @@
- "'{{ wrong_password }}' not in _helm_registry_auth_correct.command"
- "'{{ wrong_password }}' not in _helm_registry_auth_correct.stdout"
- "'{{ wrong_password }}' not in _helm_registry_auth_correct.stderr"
- "'localhost' not in _config_json.content | b64decode"
- "'localhost:{{ registry_port }}' not in _config_json.content | b64decode"

# Clean up
always:
Expand Down

0 comments on commit 5f48d1b

Please sign in to comment.