mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-11 22:53:48 +01:00
Tests are now linted by the 10.00 gate (ignore-paths dropped), with no per-test disables. CtlServer/DaemonControl members the tests drive are public (renamed, behaviour unchanged); SteamAPIClient._get takes its params explicitly, as every caller already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
554 B
Python
20 lines
554 B
Python
"""Tests for the main CLI: done command dispatch."""
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
from steam_backlog_enforcer.main import (
|
|
cmd_done,
|
|
)
|
|
from steam_backlog_enforcer.tests._cmd_done_cases import CmdDoneCases
|
|
|
|
if TYPE_CHECKING:
|
|
from steam_backlog_enforcer.config import Config, State
|
|
|
|
|
|
class TestCmdDone(CmdDoneCases):
|
|
"""Tests for cmd_done reached through ``steam_backlog_enforcer.main``."""
|
|
|
|
def run_done(self, config: Config, state: State) -> None:
|
|
"""Call the CLI's re-exported cmd_done."""
|
|
cmd_done(config, state)
|