- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
13 lines
406 B
Python
13 lines
406 B
Python
from __future__ import annotations
|
|
|
|
import os
|
|
|
|
provided_prefix = os.getenv("MYPY_TEST_PREFIX", None)
|
|
if provided_prefix:
|
|
PREFIX = provided_prefix
|
|
else:
|
|
this_file_dir = os.path.dirname(os.path.realpath(__file__))
|
|
PREFIX = os.path.dirname(os.path.dirname(this_file_dir))
|
|
|
|
# Location of test data files such as test case descriptions.
|
|
test_data_prefix = os.path.join(PREFIX, "mypyc", "test-data")
|