~teknico/charm-helpers/lint-fixes

« back to all changes in this revision

Viewing changes to tests/contrib/ansible/test_ansible.py

  • Committer: Liam young
  • Date: 2013-08-08 06:59:16 UTC
  • mfrom: (54.2.4 lint_clean)
  • Revision ID: liam.young@canonical.com-20130808065916-1w5dv7dt6k7gtbfp
[gandelman-a] Fixes all remaining lint issues, so we can start hopefully gating on Checking for Python syntax...
OK == 0

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        self.mock_core = patcher.start()
27
27
        self.addCleanup(patcher.stop)
28
28
 
29
 
 
30
29
        hosts_file = tempfile.NamedTemporaryFile()
31
30
        self.ansible_hosts_path = hosts_file.name
32
31
        self.addCleanup(hosts_file.close)
100
99
        patcher.start()
101
100
        self.addCleanup(patcher.stop)
102
101
 
103
 
 
104
102
    def test_calls_ansible_playbook(self):
105
103
        charmhelpers.contrib.ansible.apply_playbook(
106
104
            'playbooks/dependencies.yaml')