← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~rvb/maas/qa-lab-tests-raring into lp:~maas-maintainers/maas/qa-lab-tests

 

Raphaël Badin has proposed merging lp:~rvb/maas/qa-lab-tests-raring into lp:~maas-maintainers/maas/qa-lab-tests.

Commit message:
Raring resources are not available yet, disable downloading them for now.

Requested reviews:
  MAAS Maintainers (maas-maintainers)

For more details, see:
https://code.launchpad.net/~rvb/maas/qa-lab-tests-raring/+merge/146408
-- 
https://code.launchpad.net/~rvb/maas/qa-lab-tests-raring/+merge/146408
Your team MAAS Maintainers is requested to review the proposed merge of lp:~rvb/maas/qa-lab-tests-raring into lp:~maas-maintainers/maas/qa-lab-tests.
=== modified file 'maas-integration.py'
--- maas-integration.py	2013-02-04 10:30:56 +0000
+++ maas-integration.py	2013-02-04 13:48:22 +0000
@@ -177,6 +177,17 @@
             'maas-cli maas %s' % str(args), text_content(str(result)))
         return result
 
+    def test_00_disable_raring(self):
+        """Disable raring, the images are not available yet."""
+        maas_fd = open("/etc/maas/import_pxe_files" , "r+")
+        maas_file = maas_fd.read()
+        maas_file = maas_file.replace(
+            'RELEASES="precise quantal raring"',
+            'RELEASES="precise quantal"')
+        maas_fd.seek(0)
+        maas_fd.write(maas_file)
+        maas_fd.close()
+
     def test_01_create_admin(self):
         """Run maas createsuperuser."""
         cmd_output = call_command(