Skip to content

Commit ced39b9

Browse files
committed
Add tests for PruneSingal and ReQueueAfterSingal functionality
- Updated test_package_init.py to include new expected exports for PruneSingal and ReQueueAfterSingal. - Created test_signals_and_runtime_functions.py to implement comprehensive unit tests for PruneSingal and ReQueueAfterSingal, covering initialization, sending, and error handling. - Enhanced test coverage for signal handling in the Runtime class, ensuring robust integration with state management operations.
1 parent d84b6ab commit ced39b9

2 files changed

Lines changed: 724 additions & 1 deletion

File tree

python-sdk/tests/test_package_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_package_all_imports():
1515
"""Test that __all__ contains all expected exports."""
1616
from exospherehost import __all__
1717

18-
expected_exports = ["Runtime", "BaseNode", "StateManager", "TriggerState", "VERSION"]
18+
expected_exports = ["Runtime", "BaseNode", "StateManager", "TriggerState", "VERSION", "PruneSingal", "ReQueueAfterSingal"]
1919

2020
for export in expected_exports:
2121
assert export in __all__, f"{export} should be in __all__"

0 commit comments

Comments
 (0)