Disable filter test for now since it should really be testing at a lower level.

pull/2246/merge
Michael DeHaan 12 years ago
parent 9cf5306610
commit 839dff8eae

@ -62,19 +62,23 @@ class TestFilters(unittest.TestCase):
f.write(data) f.write(data)
return name return name
def test_filters(self): #def test_filters(self):
src = self.temp('src.j2', SRC)
dest = self.temp('dest.txt') # this test is pretty low level using a playbook, hence I am disabling it for now -- MPD.
book = self.temp('book', BOOK % (src, dest)) #return
playbook.PlayBook( #src = self.temp('src.j2', SRC)
playbook = book, #dest = self.temp('dest.txt')
inventory = INVENTORY, #book = self.temp('book', BOOK % (src, dest))
transport = 'local',
callbacks = callbacks.PlaybookCallbacks(), #playbook.PlayBook(
runner_callbacks = callbacks.DefaultRunnerCallbacks(), # playbook = book,
stats = callbacks.AggregateStats(), # inventory = INVENTORY,
).run() # transport = 'local',
# callbacks = callbacks.PlaybookCallbacks(),
# runner_callbacks = callbacks.DefaultRunnerCallbacks(),
# stats = callbacks.AggregateStats(),
#).run()
out = open(dest).read() out = open(dest).read()
self.assertEqual(DEST, out) self.assertEqual(DEST, out)

Loading…
Cancel
Save