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

Get unittest to 100% #212

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Get unittest to 100% #212

wants to merge 7 commits into from

Conversation

IanBoden
Copy link
Collaborator

wiotp no longer supports quickstart so had to remove all code specific to it and remove or edit any tests reliant upon it.

changed the dsc tests to be skipped if the environment variables haven't been set that are required for the target

moved some static methods out of classes as they didn't need to be in there and it causes backwards compatabilitiy with python2 (I know we don't officially support it but figured for customers using 0.11.0 it would be nice if 0.12.0 has a chance of working - if we ever do version 1.0.0 then can remove it completely)

other minor tweaks

Added tests specifically for paho mqtt 1.6.1 and 2.0.0 to check compatability with both versions

using tox can get 100% pass rate (with some tests skipped) for the default set of environments

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.

1 participant