Files
Tirsvad ad3334fa13 Set up project tooling, skeleton, ADR-0001 and repository metadata
pyproject.toml (Python 3.13+, selenium only runtime dependency), layered
src/ and tests/ skeleton with constants.py, Python .gitignore (ignores
.env), Doxyfile, ADR-0001, git hooks with the plan gate. Repository
description and topics were set through the host API.

Task: MIL-001#1
Task: MIL-001#2
Task: MIL-001#3
Task: MIL-001#4
Task: MIL-001#5
Task: MIL-001#6
Closes #2
Closes #3
Closes #4
Closes #5
Closes #6
Closes #7
2026-10-28 16:29:05 +08:00

14 lines
353 B
Python

"""@file
@brief Guards the timing constants the bot relies on.
"""
from cookie_clicker_bot import constants
def test_run_duration_is_five_minutes() -> None:
assert constants.RUN_DURATION_SECONDS == 300
def test_store_check_happens_inside_the_run() -> None:
assert 0 < constants.STORE_CHECK_INTERVAL_SECONDS < constants.RUN_DURATION_SECONDS