Test/lint fixes

This commit is contained in:
Florian Bruhin 2017-02-18 00:10:13 +01:00
parent 410b56447a
commit 4e74fff5e8
3 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,9 @@
from PyQt5.QtCore import QRect, Qt, QPoint, QEventLoop
from PyQt5.QtGui import QMouseEvent
from PyQt5.QtWidgets import QApplication
# pylint: disable=no-name-in-module,import-error,useless-suppression
from PyQt5.QtWebEngineWidgets import QWebEngineSettings
# pylint: enable=no-name-in-module,import-error,useless-suppression
from qutebrowser.utils import log, javascript
from qutebrowser.browser import webelem

View File

@ -166,6 +166,7 @@ PERFECT_FILES = [
WHITELISTED_FILES = [
'qutebrowser/browser/webkit/webkitinspector.py',
'qutebrowser/keyinput/macros.py',
'qutebrowser/browser/webkit/webkitelem.py',
]

View File

@ -55,7 +55,8 @@ def get_build_exe_options():
opts = freeze.get_build_exe_options(skip_html=True)
opts['includes'] += pytest.freeze_includes()
opts['includes'] += ['unittest.mock', 'PyQt5.QtTest', 'hypothesis', 'bs4',
'httpbin', 'jinja2.ext', 'cheroot', 'pstats', 'queue']
'httpbin', 'jinja2.ext', 'cheroot', 'pstats', 'queue',
'pytest-benchmark']
httpbin_dir = os.path.dirname(httpbin.__file__)
opts['include_files'] += [