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

EventEmitter compatibility with unittest.Mock #353

Open
owenpearson opened this issue Nov 2, 2022 · 1 comment
Open

EventEmitter compatibility with unittest.Mock #353

owenpearson opened this issue Nov 2, 2022 · 1 comment
Labels
testing Includes all kinds of automated tests, the way that we run them and the infrastructure around them.

Comments

@owenpearson
Copy link
Member

owenpearson commented Nov 2, 2022

Currently, due to argument validation, EventEmitter methods will raise an exception when a Mock is used in place of a listener. We should make EventEmitter compatible with unittest.Mock to simplify testing.

┆Issue is synchronized with this Jira Task by Unito

@sync-by-unito
Copy link

sync-by-unito bot commented Nov 2, 2022

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-2894

@mikelee638 mikelee638 added the testing Includes all kinds of automated tests, the way that we run them and the infrastructure around them. label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Includes all kinds of automated tests, the way that we run them and the infrastructure around them.
Development

No branches or pull requests

2 participants