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 unit tests and fix some trivial issues #88

Merged
merged 11 commits into from
Oct 24, 2024

Conversation

pbrezina
Copy link
Contributor

I started writing extensive unit tests, this is the first batch. I found some very minor issues that are fixed here as well.

The connection is not used at all, let's reduce the dependency.
This attribute was replaced by private _mh_utility_used and there
should be no reason to make this attribute public. Once any method
or @Property is accessed it is already set to True so it does not
have any information for the outside caller.
is_connected is actually an integer so we need to convert it
@pbrezina
Copy link
Contributor Author

@justin-stephenson May I ask you for a review? I don't think it is necessary to deep dive into every single test case.

@justin-stephenson
Copy link
Contributor

@justin-stephenson May I ask you for a review? I don't think it is necessary to deep dive into every single test case.

Sure, how do I run the tests locally?

@pbrezina
Copy link
Contributor Author

@justin-stephenson May I ask you for a review? I don't think it is necessary to deep dive into every single test case.

Sure, how do I run the tests locally?

Either run pytest directly or via tox.

Copy link
Contributor

@justin-stephenson justin-stephenson left a comment

Choose a reason for hiding this comment

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

Tests LGTM, I didn't review in detail but ack.

@pbrezina pbrezina merged commit 2823630 into next-actions:master Oct 24, 2024
4 checks passed
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.

2 participants