Skip to content

Commit 6071755

Browse files
committed
Merge pull request #70 from appium/isaac-fix-sauce
Fix handling of sauce test case so ImportError is suppressed
2 parents 77f6a39 + 3e79f85 commit 6071755

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

appium/__init__.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@
1515
"""
1616
Appium Python Client
1717
"""
18-
from .saucetestcase import SauceTestCase
19-
from .saucetestcase import on_platforms
18+
try:
19+
from .saucetestcase import SauceTestCase
20+
from .saucetestcase import on_platforms
21+
except ImportError:
22+
# SauceClient not found
23+
pass

0 commit comments

Comments
 (0)