From 845a7ac5ae4708a6286f10ed942fc5e424ccd96a Mon Sep 17 00:00:00 2001 From: Will Thames Date: Wed, 1 Aug 2012 12:26:45 +1000 Subject: [PATCH] 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 4b9b9a8a5b21abaff0b6c217807579fe5930afc1 but not really clear why from commit message --- test/TestPlayBook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py index 07e0f71c302..8e5704e7ee8 100644 --- a/test/TestPlayBook.py +++ b/test/TestPlayBook.py @@ -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):