Fix missing logconfig when running tests in pycharm

When running or debugging the tests in pycharm the logconfig module
isn't found and leads to broken test cases [1]. Running in tox seems
to work though. Changing the import to zuul.ansible.logconfig fixes
this for both.

[1] AttributeError: module 'zuul.ansible' has no attribute 'logconfig'

Change-Id: I38f624de8338fa8bdc8fd5fa58bf0b8859fbcf4a
This commit is contained in:
Tobias Henkel 2017-09-05 11:23:51 +02:00
parent 6fcf115d02
commit 1f5a7e7a5c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ except ImportError:
import gear
import zuul.merger.merger
import zuul.ansible
import zuul.ansible.logconfig
from zuul.lib import commandsocket
BUFFER_LINES_FOR_SYNTAX = 200