-
Notifications
You must be signed in to change notification settings - Fork 33
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
Adding coverage for exceptions.py #144
Adding coverage for exceptions.py #144
Conversation
|
||
def test_unknown_platform(self): | ||
"""Test resolve_dep with bad OS""" | ||
with self.assertRaises(UnknownPlatform): |
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.
I think you need to add an import for superflore.exceptions.UnknownPlatform
tests/test_utils.py
Outdated
def test_unknown_platform(self): | ||
"""Test resolve_dep with bad OS""" | ||
with self.assertRaises(UnknownPlatform): | ||
ret = rsolve_dep('cmake', 'Windoughs8') |
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.
s/rsolve_dep/resolve_dep
@shaneallcroft You might find it helpful to run the unit tests yourself locally before opening a pull request. You can see how the CI is running them by looking at the |
@tfoote Will do! Sorry for the noise. |
@shaneallcroft Thanks for adding that missing test! Unfortunately, the others in So, pending @tfoote's opinion, I think this can be merged. |
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.
lgtm
* Added test for unknown platform.
Working on unchecked exceptions.