Files
049-snack-and-lift/tests/unit/test_constants.py
Tirsvad 7fdc11a0e7 Add project scaffold, tooling, README and container image
pyproject.toml, src/snack_and_lift layout (domain, application,
infrastructure), constants.py, Doxyfile, Dockerfile with headless Chromium,
README with .venv instructions, unit tests, container smoke test and
RC-016.

Task: MIL-002#1
Task: MIL-002#2
Task: MIL-002#3
Task: MIL-002#4
Task: MIL-002#5
2026-10-28 17:29:55 +08:00

18 lines
426 B
Python

"""@file test_constants.py
@brief Smoke test: the assignment's values are the ones in constants.py.
"""
from snack_and_lift import constants
def test_gym_address_is_https() -> None:
assert constants.GYM_URL.startswith("https://")
def test_retry_count_is_seven() -> None:
assert constants.RETRY_COUNT == 7
def test_bot_books_tuesday_and_thursday() -> None:
assert constants.TARGET_WEEKDAYS == ("Tue", "Thu")