fix: add tests/pytest.ini + move Path import to top (completes 2308f24)

The prior commit only recorded the conftest.py deletion; this adds the actual
fix: tests/pytest.ini (pins rootdir to tests/ so the standard pytest command
no longer crashes on the dead /root/bin symlink) and the PEP8 import move.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mortdecai
2026-06-07 13:28:15 -04:00
parent 2308f24bc4
commit 06bc18ed31
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -12,6 +12,7 @@ import requests
import yfinance as yf
from datetime import datetime
from zoneinfo import ZoneInfo
from pathlib import Path
# ── Config ────────────────────────────────────────────────────────────────────
CONFIG_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "config.json")
@@ -33,8 +34,6 @@ REMOTE_PASS = config["remote_pass"]
PRINTER_IP = config["printer_ip"]
PRINTER_PORT = int(config.get("printer_port", 9100))
from pathlib import Path
PRINTER_MAC = config.get("printer_mac", "").lower()
PRINTER_SUBNET = config.get("printer_subnet", "192.168.0")
CACHE_DIR = Path.home() / ".cache" / "pos-briefing"