~fazerlicourice/ubuntu-weather-app/add-test-switch-data-providers

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_weather_app/__init__.py

  • Committer: vamrocks602 at gmail
  • Date: 2016-01-31 11:42:20 UTC
  • Revision ID: vamrocks602@gmail.com-20160131114220-1hwpbgob02pad766
made requested changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
        super(MainView, self).__init__(*args)
304
304
        self.visible.wait_for(True)
305
305
 
306
 
    def wait_for_activity_to_finish(self):
307
 
        """Wait for any running activity indicator to finish"""
308
 
        try:
309
 
            self._get_activity_indicator().running.wait_for(False)
310
 
        except:
311
 
            # No activity in progress.
312
 
            pass
313
 
 
314
306
 
315
307
class SettingsPage(Page):
316
308
    """Autopilot helper for SettingsPage."""