Fix module path in test_mhtml
Also fix docstring for _get_css_imports
This commit is contained in:
parent
2eeace1c2c
commit
b05a0d191d
@ -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.
|
||||
"""
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user