Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #13709 from viorelaioia/bug-938146
Browse files Browse the repository at this point in the history
Bug 938146 - Put testvars skip into test_contacts_import_from_gmail
  • Loading branch information
Zac committed Nov 15, 2013
2 parents 4cf7306 + b4ac41e commit aa19aeb
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -2,6 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from marionette.marionette_test import SkipTest
from gaiatest import GaiaTestCase
from gaiatest.apps.contacts.app import Contacts

Expand All @@ -10,6 +11,10 @@ class TestImportContactsFromGmail(GaiaTestCase):

def setUp(self):
GaiaTestCase.setUp(self)
try:
self.testvars['email']['gmail']
except KeyError:
raise SkipTest('account details not present in test variables')
self.connect_to_network()

def test_import_contacts_from_gmail(self):
Expand Down

0 comments on commit aa19aeb

Please sign in to comment.