Fix qutebrowser.misc tests.

After the utils -> misc rename, we forgot an __init__.py, which means these
tests did never run.
This commit is contained in:
Florian Bruhin 2015-01-24 14:31:58 +01:00
parent 5b3b324331
commit 3edffefff4
4 changed files with 26 additions and 6 deletions

View File

@ -0,0 +1,20 @@
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2014-2015 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# qutebrowser is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
"""The qutebrowser test suite."""

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
"""Tests for qutebrowser.utils.editor."""
"""Tests for qutebrowser.misc.editor."""
# pylint: disable=protected-access
@ -29,7 +29,7 @@ from unittest import mock
from PyQt5.QtCore import QProcess
from qutebrowser.utils import editor
from qutebrowser.misc import editor
from qutebrowser.test import stubs

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
"""Tests for qutebrowser.utils.readline."""
"""Tests for qutebrowser.misc.readline."""
# pylint: disable=protected-access
@ -27,7 +27,7 @@ from unittest import mock
from PyQt5.QtWidgets import QLineEdit
from qutebrowser.utils import readline
from qutebrowser.misc import readline
from qutebrowser.test import stubs

View File

@ -17,11 +17,11 @@
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
"""Tests for qutebrowser.utils.split."""
"""Tests for qutebrowser.misc.split."""
import unittest
from qutebrowser.utils import split
from qutebrowser.misc import split
# Most tests copied from Python's shlex.