mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 09:45:24 -04:00
13 lines
349 B
Python
13 lines
349 B
Python
from pathlib import Path
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parent.parent
|
|
DIAGNOSIS_JS = ROOT / "static" / "js" / "cookbook-diagnosis.js"
|
|
|
|
|
|
def test_repair_kernels_pip_spec_is_shell_quoted():
|
|
source = DIAGNOSIS_JS.read_text(encoding="utf-8")
|
|
|
|
assert '"kernels<0.15"' in source
|
|
assert " --break-system-packages kernels<0.15" not in source
|