-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix Type Error #30
Fix Type Error #30
Conversation
Codecov Report
@@ Coverage Diff @@
## master #30 +/- ##
==========================================
- Coverage 96.77% 94.95% -1.83%
==========================================
Files 2 2
Lines 217 218 +1
==========================================
- Hits 210 207 -3
- Misses 7 11 +4
Continue to review full report at Codecov.
|
code review please @marshall245 @parente |
@@ -93,30 +97,11 @@ def test_cli(tmpdir, channel, platform, repodata): | |||
assert len(rd['info']) == len(disk_info) | |||
assert len(rd['packages']) == len(disk_packages) | |||
|
|||
|
|||
def test_handling_bad_package(tmpdir, repodata): |
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.
Do the assertions in the test that calls this new function cover the purpose of the assertions in the removed test_handling_bad_package
?
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.
Not entirely. Will fix that in a new commit
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.
Alright updated. Final check @parente ?
# https://github.com/maxpoint/conda-mirror/issues/29 | ||
_write_bad_package(channel_dir=f2.strpath, platform_name=platform, | ||
pkg_name='bad-1-0.tar.bz2') | ||
# Write a bad package that does exist in the upstreap repodata into the mirror path |
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.
upstreap -> upstream
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.
One typo above. Then
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.
Good catch. Thanks @parente
Closes #29