From 25e720f6502786583e1189b1dfa6a2994db11ec3 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Thu, 20 Nov 2014 17:07:48 +0800 Subject: [PATCH] disable remote test when sauce labs is not availabe[ci skip] --- test/test_remote_browser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_remote_browser.py b/test/test_remote_browser.py index 3d29fcb..1e8dce1 100755 --- a/test/test_remote_browser.py +++ b/test/test_remote_browser.py @@ -66,6 +66,7 @@ BROWSER_MATRIX = [ }), ] +@unittest.skipIf((not (USERNAME and ACCESS_KEY)), 'Sauce Labs is not available') class test_remote_browser_base(BrowserTests): @classmethod def setUpClass(cls):