~shanepatrickfagan/ubuntu-sso-client/nm-state-bug-fix

« back to all changes in this revision

Viewing changes to ubuntu_sso/gtk/tests/test_gui.py

  • Committer: Tarmac
  • Author(s): Alejandro J. Cura
  • Date: 2011-04-27 03:31:27 UTC
  • mfrom: (708.2.3 eel-troubles)
  • Revision ID: tarmac-20110427033127-ekgvxmo4b9tlutpi
bring tests back to a reasonable state and run time (LP: #770395, #770393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1028
1028
        decision = webkit.WebPolicyDecision()
1029
1029
        decision.ignore = self._set_called
1030
1030
 
 
1031
        self.patch(gui.webbrowser, 'open', lambda *args, **kwargs: None)
 
1032
 
1031
1033
        kwargs = dict(browser=self.browser, frame=None, request=None,
1032
1034
                      action=action, decision=decision)
1033
1035
        self.ui.on_tc_browser_navigation_requested(**kwargs)