1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/voicemail/test/marionette/test_voicemail_statuschanged.py Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +from marionette_test import MarionetteTestCase 1.5 +import os 1.6 + 1.7 +class TestVoicemailStatusChanged(MarionetteTestCase): 1.8 + 1.9 + def testStatusChanged(self): 1.10 + this_dir = os.path.abspath(os.path.dirname(__file__)) 1.11 + pdu_builder_path = os.path.join(this_dir, "pdu_builder.js") 1.12 + self.marionette.import_script(pdu_builder_path) 1.13 + 1.14 + test_path = os.path.join(this_dir, "test_voicemail_statuschanged.js") 1.15 + test = open(test_path, "r").read() 1.16 + self.marionette.set_script_timeout(30000) 1.17 + self.marionette.execute_async_script(test)