~ubuntu-branches/ubuntu/raring/ubuntu-release-upgrader/raring

« back to all changes in this revision

Viewing changes to tests/test_end_of_life.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Brian Murray, Colin Watson, Michael Vogt
  • Date: 2012-12-14 13:29:38 UTC
  • Revision ID: package-import@ubuntu.com-20121214132938-sqmyuj8eqkbcnubd
Tags: 1:0.192.2
[ Brian Murray ]
* Call dpkg using the full path (LP: #1085844)

[ Colin Watson ]
* Remove calls to (currently) Python 2-only dh_auto_* (LP: #1089861).

[ Michael Vogt ]
* fix GObject->GLib deprecation warnings
* lp:~mvo/ubuntu-release-upgrader/fix-component-ordering/:
  - ensure stable component order in sources.list for official
    components, this fixes a ADT failure

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
3
 
from gi.repository import Gtk, GObject
 
3
from gi.repository import Gtk, GLib
4
4
 
5
5
import mock
6
6
import os
56
56
        new_dist.releaseNotesURI = "http://www.ubuntu.com/text"
57
57
        meta_release.upgradable_to = new_dist
58
58
        # schedule a close event in 1 s
59
 
        GObject.timeout_add_seconds(1, _nag_dialog_close_helper, checker)
 
59
        GLib.timeout_add_seconds(1, _nag_dialog_close_helper, checker)
60
60
        # run the dialog, this will also run a gtk mainloop so that the 
61
61
        # timeout works
62
62
        self.dialog_called = False