~canonical-platform-qa/ubuntu-system-tests/test_un_simplified_url_address_bar

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/tests/base_telephony.py

  • Committer: Tarmac
  • Author(s): Omer Akram
  • Date: 2015-10-05 14:21:27 UTC
  • mfrom: (216.2.5 ubuntu-system-tests)
  • Revision ID: tarmac-20151005142127-b62z131p9nl4am9o
Unlock SIMs before running telephony tests.

Approved by Sergio Cazzolato, Brendan Donegan, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
from autopilot.exceptions import StateNotFoundError
22
22
 
23
23
from ubuntu_system_tests import config
 
24
from ubuntu_system_tests.helpers.ofono import fixture_setup as ofono_fixture
24
25
from ubuntu_system_tests.helpers.telephony import Telephony
25
26
from ubuntu_system_tests.tests.base import BaseUbuntuSystemTestCase
26
27
 
35
36
        credentials = {'AccountSid': self.get_telephony_service_account_id(),
36
37
                       'AuthToken': self.get_telephony_service_auth_token()}
37
38
        self.telephony = Telephony(credentials)
 
39
        self.useFixture(ofono_fixture.UnlockSims())
38
40
 
39
41
    def get_telephony_service_account_id(self):
40
42
        """Return account id for telephony service."""