Skip to content

Commit

Permalink
Disabled collect logcat by default (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0ked authored Dec 12, 2017
1 parent 0abe574 commit 02f984c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contesto/basis/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def _setup_test(self):
log.info('sessionId: %s', self.driver.session_id)
log.info('capabilities: %s' % self.driver.capabilities)

if config.utils.get('collect_logcat', True):
if config.utils.get('collect_logcat'):
self.logcat = logcat.Logcat(self.driver)

if config.utils.get('record_screencast') and config.utils.get('record_screencast_autostart', True):
Expand Down
2 changes: 1 addition & 1 deletion contesto/utils/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _collect_error_details():
except:
log.exception('Error collecting page source')

if config.utils.get('collect_logcat', True) and hasattr(current_test, 'logcat'):
if hasattr(current_test, 'logcat'):
try:
current_test.logcat.collect()
except:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'config/*.ini'
],
},
"version": "0.3.0",
"version": "0.3.1",
"install_requires": [
"selenium==2.52.0",
"Appium-Python-Client==0.24",
Expand Down

0 comments on commit 02f984c

Please sign in to comment.