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

Call LocalRequirementsRepository.allow_all_wheels() in tests #965

Merged
merged 1 commit into from
Oct 25, 2019

Conversation

atugushev
Copy link
Member

@atugushev atugushev commented Oct 22, 2019

It looks like a copy-paste issue, since there should be called local_repository.allow_all_wheels() context manager, which yields btw repository.allow_all_wheels().

Increases test coverage.

It looks like a copy-paste issue, since there should be
called `local_repository.allow_all_wheels()` context manager,
which yields `local_repository.repository.allow_all_wheels()`.
@atugushev atugushev added the tests Testing and related things label Oct 22, 2019
@atugushev
Copy link
Member Author

It was added in #641. @justicz, I know it's been some time, but just wondering, do you remember why there is repository.allow_all_wheels()?

@justicz
Copy link

justicz commented Oct 22, 2019

Hey, sorry, I really don't remember this code at all!

@atugushev
Copy link
Member Author

@justicz

Hey, sorry, I really don't remember this code at all!

No worries! Thanks for the quick response! Really appreciate it 👍

@codecov
Copy link

codecov bot commented Oct 22, 2019

Codecov Report

Merging #965 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #965      +/-   ##
==========================================
+ Coverage   99.18%   99.27%   +0.08%     
==========================================
  Files          35       35              
  Lines        2338     2338              
  Branches      301      301              
==========================================
+ Hits         2319     2321       +2     
+ Misses         11        9       -2     
  Partials        8        8
Impacted Files Coverage Δ
tests/test_repository_local.py 100% <100%> (ø) ⬆️
piptools/repositories/local.py 96% <0%> (+4%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 192e957...a8c2e7b. Read the comment docs.

@atugushev atugushev requested review from webknjaz and blueyed October 24, 2019 05:15
@atugushev atugushev merged commit 1d6d840 into jazzband:master Oct 25, 2019
@atugushev atugushev deleted the fix-test-localrepository branch October 25, 2019 17:31
@atugushev
Copy link
Member Author

@webknjaz thank you for taking the time to review this! Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Testing and related things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants