feat: indie status page MVP -- FastAPI + SQLite
- 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
This commit is contained in:
commit
902133edd3
4655 changed files with 1342691 additions and 0 deletions
22
venv/lib/python3.11/site-packages/mypyc/test/test_misc.py
Normal file
22
venv/lib/python3.11/site-packages/mypyc/test/test_misc.py
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import unittest
|
||||
|
||||
from mypyc.ir.ops import BasicBlock
|
||||
from mypyc.ir.pprint import format_blocks, generate_names_for_ir
|
||||
from mypyc.irbuild.ll_builder import LowLevelIRBuilder
|
||||
from mypyc.options import CompilerOptions
|
||||
|
||||
|
||||
class TestMisc(unittest.TestCase):
|
||||
def test_debug_op(self) -> None:
|
||||
block = BasicBlock()
|
||||
builder = LowLevelIRBuilder(
|
||||
errors=None, options=CompilerOptions(strict_traceback_checks=True)
|
||||
)
|
||||
builder.activate_block(block)
|
||||
builder.debug_print("foo")
|
||||
|
||||
names = generate_names_for_ir([], [block])
|
||||
code = format_blocks([block], names, {})
|
||||
assert code[:-1] == ["L0:", " r0 = 'foo'", " CPyDebug_PrintObject(r0)"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue