diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2024-04-09 17:08:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 17:08:52 +0200 |
commit | bb138b1f6e59798d137ad34fa959b5dc773014f4 (patch) | |
tree | f1a8c41f8b85484cffca95c2ea446aa8967414cb /test/units | |
parent | Remove more Python 2.x compat code (diff) | |
download | ansible-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.py | 2 |
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() |