summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWill Thames <will@musc.org.uk>2012-08-01 12:26:45 +1000
committerWill Thames <willdthames@gmail.com>2012-08-01 12:35:17 +1000
commit845a7ac5ae4708a6286f10ed942fc5e424ccd96a (patch)
treeca034043f9facd4dbaeb078ff6034a20b25a33e7 /test
parent9f7ad62376658aaf0917c33bf2aa0af632cc4f96 (diff)
downloadansible-845a7ac5ae4708a6286f10ed942fc5e424ccd96a.tar.gz
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
Diffstat (limited to 'test')
-rw-r--r--test/TestPlayBook.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py
index 07e0f71c30..8e5704e7ee 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):