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
18 lines
426 B
Python
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")
|