test_one not working as tests after skipped test failing, because
on_skipped callback being passed an extra item parameter that it wasn't
expecting.
Fixed it so that on_skipped in TestCallbacks accepts and ignores the
extra parameter
Extra parameter was added in 4b9b9a8a5b
but not really clear why from commit message
This commit is contained in:
parent
9f7ad62376
commit
845a7ac5ae
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class TestCallbacks(object):
|
|||
def on_setup(self):
|
||||
EVENTS.append([ 'primary_setup' ])
|
||||
|
||||
def on_skipped(self, host):
|
||||
def on_skipped(self, host, item=None):
|
||||
EVENTS.append([ 'skipped', [ host ]])
|
||||
|
||||
def on_import_for_host(self, host, filename):
|
||||
|
|
Loading…
Reference in a new issue