Skip to content

Commit

Permalink
ignore listen keyword when testing callback
Browse files Browse the repository at this point in the history
the value varies between versions
  • Loading branch information
evgeni committed Jun 20, 2024
1 parent 19d8b14 commit f14019f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def drop_incompatible_items(d):
dd = {}
for k, v in d.items():
if k in ['msg', 'start', 'end', 'delta', 'uuid', 'timeout', '_ansible_no_log', 'warn', 'connection',
'extended_allitems', 'loop_control', 'expand_argument_vars', 'retries', 'parent', 'parent_type', 'finalized', 'squashed', 'no_log']:
'extended_allitems', 'loop_control', 'expand_argument_vars', 'retries', 'parent', 'parent_type', 'finalized', 'squashed', 'no_log',
'listen']:
continue

if isinstance(v, dict):
Expand Down

0 comments on commit f14019f

Please sign in to comment.