Delete test that was coded against *local* resolv.conf -- obviously not going to be the same between people's computers

pull/1046/merge
Michael DeHaan 12 years ago
parent 08b70949c7
commit e1ecb95b3d

@ -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

Loading…
Cancel
Save