Files

19 lines
400 B
Python

from pathlib import Path
from bot_descarga.ui.windows_autostart import TASK_BASENAME, bot_root, resolve_python
def test_bot_root_has_run_gui():
root = bot_root()
assert (root / "run_gui.py").exists()
def test_resolve_python_returns_path():
py = resolve_python()
assert isinstance(py, Path)
assert str(py)
def test_task_basename():
assert "BotDescarga" in TASK_BASENAME