pylint: Remove import-error disabling from tests.
This commit is contained in:
parent
5817b47f75
commit
b3515f5e82
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from helpers import utils # pylint: disable=import-error
|
from helpers import utils
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('val1, val2', [
|
@pytest.mark.parametrize('val1, val2', [
|
||||||
|
@ -33,7 +33,7 @@ import yaml
|
|||||||
import pytest_bdd as bdd
|
import pytest_bdd as bdd
|
||||||
from PyQt5.QtGui import QClipboard
|
from PyQt5.QtGui import QClipboard
|
||||||
|
|
||||||
from helpers import utils # pylint: disable=import-error
|
from helpers import utils
|
||||||
|
|
||||||
|
|
||||||
def _clipboard_mode(qapp, what):
|
def _clipboard_mode(qapp, what):
|
||||||
|
@ -21,7 +21,7 @@ import os.path
|
|||||||
|
|
||||||
import pytest_bdd as bdd
|
import pytest_bdd as bdd
|
||||||
|
|
||||||
from helpers import utils # pylint: disable=import-error
|
from helpers import utils
|
||||||
|
|
||||||
bdd.scenarios('urlmarks.feature')
|
bdd.scenarios('urlmarks.feature')
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ import yaml
|
|||||||
import pytest
|
import pytest
|
||||||
from PyQt5.QtCore import pyqtSignal, QUrl
|
from PyQt5.QtCore import pyqtSignal, QUrl
|
||||||
|
|
||||||
import testprocess # pylint: disable=import-error
|
import testprocess
|
||||||
from qutebrowser.misc import ipc
|
from qutebrowser.misc import ipc
|
||||||
from qutebrowser.utils import log, utils
|
from qutebrowser.utils import log, utils
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ import pytestqt.plugin
|
|||||||
from PyQt5.QtCore import pyqtSlot, pyqtSignal, QProcess, QObject, QElapsedTimer
|
from PyQt5.QtCore import pyqtSlot, pyqtSignal, QProcess, QObject, QElapsedTimer
|
||||||
from PyQt5.QtTest import QSignalSpy
|
from PyQt5.QtTest import QSignalSpy
|
||||||
|
|
||||||
from helpers import utils # pylint: disable=import-error
|
from helpers import utils
|
||||||
|
|
||||||
|
|
||||||
class InvalidLine(Exception):
|
class InvalidLine(Exception):
|
||||||
|
@ -27,7 +27,7 @@ import os.path
|
|||||||
import pytest
|
import pytest
|
||||||
from PyQt5.QtCore import pyqtSignal
|
from PyQt5.QtCore import pyqtSignal
|
||||||
|
|
||||||
import testprocess # pylint: disable=import-error
|
import testprocess
|
||||||
|
|
||||||
|
|
||||||
class Request(testprocess.Line):
|
class Request(testprocess.Line):
|
||||||
|
@ -39,7 +39,7 @@ from PyQt5.QtTest import QSignalSpy
|
|||||||
import qutebrowser
|
import qutebrowser
|
||||||
from qutebrowser.misc import ipc
|
from qutebrowser.misc import ipc
|
||||||
from qutebrowser.utils import objreg, qtutils
|
from qutebrowser.utils import objreg, qtutils
|
||||||
from helpers import stubs # pylint: disable=import-error
|
from helpers import stubs
|
||||||
|
|
||||||
|
|
||||||
Args = collections.namedtuple('Args', 'basedir')
|
Args = collections.namedtuple('Args', 'basedir')
|
||||||
|
Loading…
Reference in New Issue
Block a user