~matsubara/maas/update-dns-config

« back to all changes in this revision

Viewing changes to maas-integration.py

  • Committer: Tarmac
  • Author(s): Raphael Badin
  • Date: 2013-10-28 17:42:45 UTC
  • mfrom: (222.1.1 qa-lab-tests-remove)
  • Revision ID: tarmac-20131028174245-36nr6p360p88jtgn
[r=matsubara][bug=][author=rvb] Enable raring back.  The download script now copes with missing images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
    run_command(['sudo', 'service', 'squid-deb-proxy', 'restart'])
184
184
 
185
185
tests_order = [
186
 
    "test_disable_raring",
187
186
    "test_create_admin",
188
187
    "test_restart_dbus_avahi",
189
188
    "test_update_maas_url",
240
239
            str(args), text_content(str(err)))
241
240
        return (output, err)
242
241
 
243
 
    def test_disable_raring(self):
244
 
        """Disable raring, the images are not available yet.
245
 
        # XXX: rvb 2013-02-04 bug=1115178
246
 
        # XXX: rvb 2013-02-04 bug=1115175
247
 
        """
248
 
        maas_fd = open("/etc/maas/import_pxe_files" , "r+")
249
 
        maas_file = maas_fd.read()
250
 
        maas_file = maas_file.replace(
251
 
            'RELEASES="precise quantal raring"',
252
 
            'RELEASES="precise quantal"')
253
 
        maas_fd.seek(0)
254
 
        maas_fd.write(maas_file)
255
 
        maas_fd.close()
256
 
 
257
242
    def test_create_admin(self):
258
243
        """Run maas createsuperuser."""
259
244
        cmd_output = call_command(