-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
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
@justin-stephenson May I ask you for a review? I don't think it is necessary to deep dive into every single test case. |
f798880
to
671678d
Compare
Sure, how do I run the tests locally? |
Either run pytest directly or via tox. |
There was a problem hiding this 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.
I started writing extensive unit tests, this is the first batch. I found some very minor issues that are fixed here as well.