~andreserl/maas/python3_qa_lab_tests

« back to all changes in this revision

Viewing changes to cluster-controller-integration.py

  • Committer: jtv at canonical
  • Date: 2014-09-25 06:10:31 UTC
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: jtv@canonical.com-20140925061031-i32kry20r536qnaz
Add lint test, and fix lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
    def test_preseed_updated_cluster_config(self):
29
29
        # Make sure the cluster config was updated by the seed file.
30
 
        maas_fd = open("/etc/maas/maas_cluster.conf" , "r+")
 
30
        maas_fd = open("/etc/maas/maas_cluster.conf", "r+")
31
31
        maas_file = maas_fd.read()
32
32
        self.assertThat(maas_file, Contains(
33
33
            'MAAS_URL="http://192.168.21.5/MAAS"'))