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

Serial encryption #337

Draft
wants to merge 8 commits into
base: dev
Choose a base branch
from
Draft
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
Next Next commit
test fix
  • Loading branch information
yozik04 committed Jan 4, 2023
commit c0383817ca76c0c59b1f48f5c514d3586617c889
11 changes: 7 additions & 4 deletions tests/lib/test_async_message_manager.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import asyncio

import pytest
from construct import Container
import pytest

from paradox.lib.async_message_manager import (AsyncMessageManager,
EventMessageHandler)
from paradox.lib.async_message_manager import AsyncMessageManager, EventMessageHandler
from paradox.lib.handlers import PersistentHandler


@@ -89,7 +88,11 @@ async def test_wait_for_message(mocker):
@pytest.mark.asyncio
async def test_handler_exception(mocker):
msg = Container(
fields=Container(value=Container(po=Container(command=0xE), event_source=0xFF))
fields=Container(
value=Container(
po=Container(command=0xE), event_source=0xFF, event=Container()
)
)
)

mm = AsyncMessageManager()