gecko/dom/telephony/test/marionette/test_voicemail_statuschanged.py
Marshall Culpepper 6fadfed2c9 Bug 776724: Voicemail tests now import ril_consts with Cu.import, fixing breakage when packaged with Marionette. r=philikon
--HG--
extra : rebase_source : fe3effc50ea11ee9a4292d127150b7bf92fb7634
2012-07-25 13:49:05 -05:00

15 lines
555 B
Python

from marionette_test import MarionetteTestCase
import os
class TestVoicemailStatusChanged(MarionetteTestCase):
def testStatusChanged(self):
this_dir = os.path.abspath(os.path.dirname(__file__))
pdu_builder_path = os.path.join(this_dir, "pdu_builder.js")
self.marionette.import_script(pdu_builder_path)
test_path = os.path.join(this_dir, "test_voicemail_statuschanged.js")
test = open(test_path, "r").read()
self.marionette.set_script_timeout(30000)
self.marionette.execute_async_script(test)