Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send multicast requests optimistically #402

Merged
merged 2 commits into from
Mar 12, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix tests
  • Loading branch information
Adminiuga committed Mar 12, 2021
commit 78f3304213792e672b9bca6149733fe2c2310cfd
11 changes: 0 additions & 11 deletions tests/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,11 +968,6 @@ async def test_mrequest(app):
assert res[0] == 0


async def test_mrequest_ack_timeout(app, aps):
with pytest.raises(asyncio.TimeoutError):
await _mrequest(app, send_ack_received=False)


async def test_mrequest_send_unicast_fail(app):
res = await _mrequest(app, send_success=False)
assert res[0] != 0
Expand All @@ -984,12 +979,6 @@ async def test_mrequest_ezsp_failed(app):
assert len(app._pending) == 0


async def test_mrequest_send_timeout(app):
with pytest.raises(asyncio.TimeoutError):
await _mrequest(app, send_ack_received=False)
assert app._pending == {}


async def test_mrequest_ctrl_not_running(app):
app._ctrl_event.clear()
with pytest.raises(ControllerError):
Expand Down