Commit 845a7ac5 by Will Thames Committed by Will Thames

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 4b9b9a8a
but not really clear why from commit message
parent 9f7ad623
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment