~tiagosh/checkbox/nofork

« back to all changes in this revision

Viewing changes to checkbox_qt/qt_interface.py

  • Committer: Daniel Manrique
  • Date: 2012-03-12 21:27:15 UTC
  • mfrom: (1309.1.2 fix-auto-test-status)
  • Revision ID: daniel.manrique@canonical.com-20120312212715-dwffjzungu0f8pgq
Merged fix for automated test status updating by tiagosh (LP: #950105)

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
    def show_error(self, text):
223
223
        self.qtiface.showError(text)
224
224
 
 
225
    def update_status(self, job):
 
226
        if 'type' in job and job["type"] == "test":
 
227
            self.qtiface.updateAutoTestStatus(job["status"], job["name"])
 
228
 
225
229
    def wait_on_signals(self, **signals):
226
230
        for name, function in signals.iteritems():
227
231
            self.bus.add_signal_receiver(function, name)