From 839dff8eaedbda1a4c8189bf3c3d62b7845980b9 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 1 Mar 2013 17:42:14 -0500 Subject: [PATCH] Disable filter test for now since it should really be testing at a lower level. --- test/TestFilters.py | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/test/TestFilters.py b/test/TestFilters.py index 21b6f21175..4bd5b32fa8 100644 --- a/test/TestFilters.py +++ b/test/TestFilters.py @@ -62,19 +62,23 @@ class TestFilters(unittest.TestCase): f.write(data) return name - def test_filters(self): - src = self.temp('src.j2', SRC) - dest = self.temp('dest.txt') - book = self.temp('book', BOOK % (src, dest)) + #def test_filters(self): - playbook.PlayBook( - playbook = book, - inventory = INVENTORY, - transport = 'local', - callbacks = callbacks.PlaybookCallbacks(), - runner_callbacks = callbacks.DefaultRunnerCallbacks(), - stats = callbacks.AggregateStats(), - ).run() + # this test is pretty low level using a playbook, hence I am disabling it for now -- MPD. + #return + + #src = self.temp('src.j2', SRC) + #dest = self.temp('dest.txt') + #book = self.temp('book', BOOK % (src, dest)) + + #playbook.PlayBook( + # playbook = book, + # inventory = INVENTORY, + # transport = 'local', + # callbacks = callbacks.PlaybookCallbacks(), + # runner_callbacks = callbacks.DefaultRunnerCallbacks(), + # stats = callbacks.AggregateStats(), + #).run() out = open(dest).read() self.assertEqual(DEST, out)