|
1 from marionette_test import MarionetteTestCase |
|
2 import os |
|
3 |
|
4 class TestVoicemailStatusChanged(MarionetteTestCase): |
|
5 |
|
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) |
|
10 |
|
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) |