From e1ecb95b3d50df4c17d0002cae3216e13cd7d1a2 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 18 Sep 2012 21:16:35 -0400 Subject: [PATCH] Delete test that was coded against *local* resolv.conf -- obviously not going to be the same between people's computers --- test/TestPlayBook.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py index 585c5427c01..fd57f328bbc 100644 --- a/test/TestPlayBook.py +++ b/test/TestPlayBook.py @@ -182,21 +182,3 @@ class TestPlaybook(unittest.TestCase): play = ansible.playbook.Play(playbook, playbook.playbook[0], os.getcwd()) assert play.hosts == ';'.join(('host1', 'host2', 'host3')) - def test_results_list(self): - # Test that we can iterate over the lines of a command's stdout in a register variable. - test_callbacks = TestCallbacks() - playbook = ansible.playbook.PlayBook( - playbook=os.path.join(self.test_dir, 'results_list.yml'), - host_list='test/ansible_hosts', - stats=ans_callbacks.AggregateStats(), - callbacks=test_callbacks, - runner_callbacks=test_callbacks - ) - result = playbook.run() - assert 'localhost' in result - assert 'ok' in result['localhost'] - assert result['localhost']['ok'] == 6 - assert 'failures' in result['localhost'] - assert result['localhost']['failures'] == 0 - -