mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Disable filter test for now since it should really be testing at a lower level.
This commit is contained in:
parent
9cf5306610
commit
839dff8eae
1 changed files with 16 additions and 12 deletions
|
@ -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')
|
|
||||||
book = self.temp('book', BOOK % (src, dest))
|
|
||||||
|
|
||||||
playbook.PlayBook(
|
# this test is pretty low level using a playbook, hence I am disabling it for now -- MPD.
|
||||||
playbook = book,
|
#return
|
||||||
inventory = INVENTORY,
|
|
||||||
transport = 'local',
|
#src = self.temp('src.j2', SRC)
|
||||||
callbacks = callbacks.PlaybookCallbacks(),
|
#dest = self.temp('dest.txt')
|
||||||
runner_callbacks = callbacks.DefaultRunnerCallbacks(),
|
#book = self.temp('book', BOOK % (src, dest))
|
||||||
stats = callbacks.AggregateStats(),
|
|
||||||
).run()
|
#playbook.PlayBook(
|
||||||
|
# playbook = book,
|
||||||
|
# inventory = INVENTORY,
|
||||||
|
# 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…
Reference in a new issue