Fix module path in test_mhtml

Also fix docstring for _get_css_imports
This commit is contained in:
Daniel 2015-09-24 22:17:47 +02:00
parent 2eeace1c2c
commit b05a0d191d
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@ _CSS_URL_PATTERNS = [re.compile(x) for x in [
def _get_css_imports(data):
"""Return all assets that are referenced in the given CSS document.
The returned URLs are relative to the stylesheet's URL.
Args:
data: The content of the stylesheet to scan as string.
"""

View File

@ -5,7 +5,7 @@ import re
import pytest
from qutebrowser.misc import mhtml
from qutebrowser.browser import mhtml
@pytest.fixture(autouse=True)
def patch_uuid(monkeypatch):