Skip to content

Commit

Permalink
Fail with an appropriate message if app launch fails
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Dec 9, 2012
1 parent 806657a commit 4176364
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gaiatest/gaia_test.py
Expand Up @@ -49,6 +49,7 @@ def __init__(self, marionette):
def launch(self, name, switch_to_frame=True, url=None):
self.marionette.switch_to_frame()
result = self.marionette.execute_async_script("GaiaApps.launchWithName('%s')" % name)
assert result, "Failed to launch app with name '%s'" % name
app = GaiaApp(frame_id=result.get('frame'),
src=result.get('src'),
name=result.get('name'),
Expand Down

0 comments on commit 4176364

Please sign in to comment.