You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests run headless: skip GUI tests without tkinter, document venv setup #64
cd EveProfitManager && python -m unittest discover is the documented offline test run (README, CI), and the tests mock ESI/SSO. But on a host without a venv or tkinter (like Arcanum), 8 of 18 test modules fail at import: test_cargo_fetch, test_cargo_page, test_cli_abyss, test_detect, test_payouts, test_pocket, test_theme, test_wallet_page. 97 tests ran with 8 errors (2026-11-16).
Acceptance criteria
Logic tests don't need tkinter/customtkinter to import: move GUI imports out of module scope in the code under test, or split the logic out, wherever that's cheap.
Tests that truly need a GUI skip with a clear reason (unittest.skipUnless) when tkinter or customtkinter is missing, instead of erroring.
On a host with no tkinter, python -m unittest discover exits 0, with only skips for the GUI tests.
README's "Run the tests" section gives the venv setup (python -m venv .venv && .venv/bin/pip install -r requirements.txt) and notes that tkinter comes from the OS package (python3-tk).
CI still runs the full suite with no skips.
From Workbench #60 (fast local test loops for agents).
Activity