columba/python
torlando-tech 1629c34107 test: Add coverage tests for sync and delivery callbacks
Add 14 new tests to improve code coverage:

PropagationNodeManager (5 tests):
- syncWithPropagationNode skips when no relay configured
- syncWithPropagationNode skips when already syncing
- syncWithPropagationNode updates lastSyncTimestamp on success
- syncWithPropagationNode handles protocol failure gracefully
- triggerSync emits NoRelay when no relay configured

Python delivery callbacks (6 tests):
- _on_message_delivered calls Kotlin callback with correct JSON
- _on_message_delivered handles missing callback gracefully
- _on_message_failed calls Kotlin callback with failed status
- _on_message_failed handles missing callback gracefully
- _on_message_sent calls Kotlin callback with sent status
- _on_message_sent handles missing callback gracefully

Python propagation node setting (3 tests):
- set_outbound_propagation_node stores node hash
- set_outbound_propagation_node clears with None
- get_outbound_propagation_node returns hex string

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 19:18:10 -05:00
..
ble_modules fix(ble): Fix MAC rotation reconnection and dual connection deduplication 2025-12-11 13:02:35 -05:00
drivers initial commit 2025-11-30 19:59:14 -05:00
patches initial commit 2025-11-30 19:59:14 -05:00
android_ble_interface.py initial commit 2025-11-30 19:59:14 -05:00
columba_logo.py feat: display Columba logo on RNode OLED via external framebuffer 2025-12-08 21:58:48 -05:00
logging_utils.py initial commit 2025-11-30 19:59:14 -05:00
requirements.txt fix: use patched RNS fork for shared instance RPC fix (#42) 2025-12-08 12:10:58 -05:00
reticulum_wrapper.py fix: Add propagation stamp generation for retry fallback 2025-12-12 18:36:36 -05:00
rnode_interface.py fix: TDD fixes for BLE deduplication cooldown asymmetry and test stability 2025-12-09 18:56:16 -05:00
test_android_ble_driver.py fix(ble): Fix MAC rotation reconnection and dual connection deduplication 2025-12-11 13:02:35 -05:00
test_announce_handler.py fix: Update announce handler tests to match implementation 2025-12-12 18:25:13 -05:00
test_opportunistic_timeout.py test: Add coverage tests for sync and delivery callbacks 2025-12-12 19:18:10 -05:00
test_rnode_interface.py fix: TDD fixes for BLE deduplication cooldown asymmetry and test stability 2025-12-09 18:56:16 -05:00