~brendan-donegan/maas/qa-lab-tests_rescue_mode_test

« back to all changes in this revision

Viewing changes to maas-integration.py

  • Committer: Andres Rodriguez
  • Date: 2016-04-11 19:47:41 UTC
  • Revision ID: andreserl@ubuntu.com-20160411194741-zcbphrzyi0vd5m4m
fix command

Show diffs side-by-side

added added

removed removed

Lines of Context:
911
911
            self._run_maas_cli(
912
912
                ["machine", "update", machine['system_id'], "zone=test-zone"])
913
913
        # Check nodes are in the test-zone
914
 
        output, err = self._run_maas_cli(["machine", "read", "zone=test-zone"])
 
914
        output, err = self._run_maas_cli(["machines", "read", "zone=test-zone"])
915
915
        machines = loads(output)
916
916
        self.assertEqual(2, len(machines))
917
917