chore(api): convert AppContext from ABC to Protocol (#37203)

This commit is contained in:
Eric Cao
2026-06-09 03:16:39 +00:00
committed by GitHub
parent 22e67b4673
commit a8977be999
2 changed files with 5 additions and 18 deletions
@@ -20,15 +20,6 @@ from context.execution_context import (
)
class TestAppContext:
"""Test AppContext abstract base class."""
def test_app_context_is_abstract(self):
"""Test that AppContext cannot be instantiated directly."""
with pytest.raises(TypeError):
AppContext() # type: ignore
class TestNullAppContext:
"""Test NullAppContext implementation."""