mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-08-06 00:43:12 +02:00
test: expect True from deferred local TX mock after companion send fix
The merged RepeaterHandler treats a falsy tx_success as failure; update the duty-cycle deferral test to return True instead of None. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1833,7 +1833,7 @@ class TestEngineTransmissionAndBackgroundLifecycle:
|
||||
with patch.object(handler, "_calculate_tx_delay", return_value=0.5):
|
||||
loop = asyncio.get_running_loop()
|
||||
completed = loop.create_future()
|
||||
completed.set_result(None)
|
||||
completed.set_result(True)
|
||||
|
||||
async def _fake_schedule(packet, delay, airtime_ms, local_transmission=False):
|
||||
packet._tx_metadata = {
|
||||
|
||||
Reference in New Issue
Block a user