diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-11-29 16:16:44 -0200 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-11-29 16:45:06 -0200 |
commit | d662fa63a0a7f7f2ae31cf1968f61db8b6240a5a (patch) | |
tree | d3c62aa06db4bfe140533cf87a40954bf55f4b9f /service | |
parent | 60c9020a11a88e07cb63ede737791bbeb8bbe6ec (diff) |
Remove twisted loggers from behave tests
The twisted loggers were capturing outputs and preventing debug with pdb
Diffstat (limited to 'service')
-rw-r--r-- | service/test/functional/features/environment.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/service/test/functional/features/environment.py b/service/test/functional/features/environment.py index c98609f8..33e0f5fe 100644 --- a/service/test/functional/features/environment.py +++ b/service/test/functional/features/environment.py @@ -20,7 +20,6 @@ from crochet import setup, wait_for from leap.common.events.server import ensure_server from selenium import webdriver from twisted.internet import defer -from twisted.logger import globalLogBeginner, textFileLogObserver, Logger from pixelated.application import UserAgentMode from pixelated.config.site import PixelatedSite @@ -30,12 +29,6 @@ from steps.common import DEFAULT_IMPLICIT_WAIT_TIMEOUT_IN_S setup() -observers = [textFileLogObserver(open(os.devnull, 'w'))] - -globalLogBeginner.beginLoggingTo(observers) - -Logger('twisted') - @wait_for(timeout=5.0) def start_app_test_client(client, mode): |