Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bugfix: fix unit-source for pre-release of ansible-core 2.20 (devel a…
…nd milestone branch) (#903)

SUMMARY
CI fix for #904
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
tests/unit
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <[email protected]>
Reviewed-by: Bianca Henderson <[email protected]>
(cherry picked from commit d4fc22c)
  • Loading branch information
yurnov authored and beeankha committed Apr 25, 2025
commit d2c606c911fabe9bb0240f0daf76b2d53e80274f
4 changes: 2 additions & 2 deletions tests/unit/module_utils/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def test_warn_on_k8s_version(monkeypatch, stdin, capfd):
assert return_value.get("warnings") is not None
warnings = return_value["warnings"]
assert len(warnings) == 1
assert "kubernetes" in warnings[0]
assert MINIMAL_K8S_VERSION in warnings[0]
assert "kubernetes" in str(warnings[0])
assert MINIMAL_K8S_VERSION in str(warnings[0])


dependencies = [
Expand Down
Loading