tests: Ignore QDisabledNetworkReply warning.

I guess they are displayed now during teardown with the changes in pytest-qt.
This commit is contained in:
Florian Bruhin 2015-11-01 18:04:09 +01:00
parent 3a522fb551
commit 867f509bcc
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,10 @@ from qutebrowser.browser.tabhistory import TabHistoryItem as Item
from qutebrowser.utils import qtutils
pytestmark = pytest.mark.qt_log_ignore('QIODevice::read.*: device not open',
extend=True)
ITEMS = [
Item(QUrl('https://www.heise.de/'), 'heise'),
Item(QUrl('http://example.com/%E2%80%A6'), 'percent', active=True),

View File

@ -35,6 +35,8 @@ from qutebrowser.browser.tabhistory import TabHistoryItem as Item
from qutebrowser.commands import cmdexc
pytestmark = pytest.mark.qt_log_ignore('QIODevice::read.*: device not open',
extend=True)
@pytest.fixture
def sess_man():