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

add ssl unit tests #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add ssl unit tests #50

wants to merge 1 commit into from

Conversation

fsagbuya
Copy link
Contributor

@fsagbuya fsagbuya commented Dec 3, 2024

Description

Add SSL unit tests:

  • Generate certificates and test connection for all sipyco protocols

Requires:
#46
#47

Closes #48

TODO: add tests for logging and broadcast

@sbourdeauducq
Copy link
Member

Structure is not ideal. Instead, provide a library function that generates the certificates, and follow the existing test structure e.g. add a SSL test to https://github.com/m-labs/sipyco/blob/master/sipyco/test/test_pc_rpc.py.

For the elements that don't have tests like Broadcaster then add some, with and without SSL.

rpctool also needs to be tested with SSL.

@fsagbuya fsagbuya marked this pull request as draft January 6, 2025 10:55
@fsagbuya fsagbuya force-pushed the ssl_tests branch 2 times, most recently from 794f617 to 200be2e Compare January 8, 2025 04:40
@fsagbuya fsagbuya marked this pull request as ready for review January 8, 2025 04:41
test_message = {"key": "value", "number": 42}


class BroadcastCase(unittest.TestCase):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split into separate PR as discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSL unit tests
2 participants