~mandel/ubuntuone-control-panel/auto-update-looping-call

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/tests/test_gui.py

  • Committer: Manuel de la Pena
  • Date: 2011-12-14 13:06:52 UTC
  • Revision ID: mandel@themacaque.com-20111214130652-1nz0p5dcx2ovcian
Fixed broken test after changes in FakeWindow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        self.auto_update = None
78
78
        self.window = None
79
79
 
80
 
    def __call__(self, *args, **kwargs):
 
80
    def __call__(self, window, *args, **kwargs):
81
81
        """Make the object callable to fake a cosntructor."""
 
82
        self.window = window
82
83
        return self
83
84
 
84
85
    def get_auto_update_lc(self):