mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-08 07:52:20 +02:00
Merge lab into refactor/settings-shell-modules
This commit is contained in:
@@ -14,6 +14,7 @@ import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from tests.helpers.stylesheets import app_css
|
||||
|
||||
|
||||
_REPO = Path(__file__).resolve().parent.parent
|
||||
@@ -22,11 +23,9 @@ _COORDINATOR_HELPER = (
|
||||
_REPO / "tests" / "helpers" / "test_settings_shell_coordinator.mjs"
|
||||
)
|
||||
_HAS_NODE = shutil.which("node") is not None
|
||||
_STYLE = _REPO / "static" / "style.css"
|
||||
|
||||
|
||||
_STYLE_TEXT = app_css()
|
||||
def test_settings_desktop_width_targets_settings_not_cookbook():
|
||||
source = _STYLE.read_text(encoding="utf-8")
|
||||
source = _STYLE_TEXT
|
||||
|
||||
settings_rule = re.search(
|
||||
r"(?ms)^\.settings-modal-content\s*\{[^}]*"
|
||||
|
||||
Reference in New Issue
Block a user