dom/voicemail/test/marionette/test_voicemail_statuschanged.py

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 from marionette_test import MarionetteTestCase
     2 import os
     4 class TestVoicemailStatusChanged(MarionetteTestCase):
     6     def testStatusChanged(self):
     7         this_dir = os.path.abspath(os.path.dirname(__file__))
     8         pdu_builder_path = os.path.join(this_dir, "pdu_builder.js")
     9         self.marionette.import_script(pdu_builder_path)
    11         test_path = os.path.join(this_dir, "test_voicemail_statuschanged.js")
    12         test = open(test_path, "r").read()
    13         self.marionette.set_script_timeout(30000)
    14         self.marionette.execute_async_script(test)

mercurial