summaryrefslogtreecommitdiffstats
path: root/test/units
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2024-04-09 17:08:52 +0200
committerGitHub <noreply@github.com>2024-04-09 17:08:52 +0200
commitbb138b1f6e59798d137ad34fa959b5dc773014f4 (patch)
treef1a8c41f8b85484cffca95c2ea446aa8967414cb /test/units
parentRemove more Python 2.x compat code (diff)
downloadansible-bb138b1f6e59798d137ad34fa959b5dc773014f4.tar.xz
ansible-bb138b1f6e59798d137ad34fa959b5dc773014f4.zip
play_context: remove deprecated PlayContext.verbosity (#82993)
Fixes: #82945 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'test/units')
-rw-r--r--test/units/playbook/test_play_context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/playbook/test_play_context.py b/test/units/playbook/test_play_context.py
index 485a0e5378..7c911011b0 100644
--- a/test/units/playbook/test_play_context.py
+++ b/test/units/playbook/test_play_context.py
@@ -50,7 +50,7 @@ def test_play_context(mocker, parser, reset_cli_args):
assert play_context.password == ''
assert play_context.private_key_file == C.DEFAULT_PRIVATE_KEY_FILE
assert play_context.timeout == C.DEFAULT_TIMEOUT
- assert play_context.verbosity == 2
+ assert getattr(play_context, 'verbosity', None) is None
assert play_context.check_mode is True
mock_play = mocker.MagicMock()