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

Preserve user-defined quality priorities #44

Merged
merged 1 commit into from
Sep 2, 2019

Conversation

alexlitvinenko
Copy link
Contributor

{self.sanitize_quality(pref) for pref in self.quality_prefs} is a set and it is not ordered. As a result torrt frequently picked quality with lower priority but higher-priority quality was available.

@coveralls
Copy link

coveralls commented Aug 31, 2019

Pull Request Test Coverage Report for Build 70

  • 19 of 20 (95.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 51.443%

Changes Missing Coverage Covered Lines Changed/Added Lines %
torrt/trackers/anilibria.py 19 20 95.0%
Totals Coverage Status
Change from base Build 68: 0.2%
Covered Lines: 731
Relevant Lines: 1421

💛 - Coveralls

@idlesign
Copy link
Owner

idlesign commented Sep 1, 2019

Thank you.

Could you also enchance the test suite (https://github.com/idlesign/torrt/blob/master/tests/trackers/test_anilibria.py) to cover that change for a regression?

@alexlitvinenko
Copy link
Contributor Author

Done. Please review.

@idlesign idlesign merged commit 4835572 into idlesign:master Sep 2, 2019
@idlesign
Copy link
Owner

idlesign commented Sep 2, 2019

Thank you. Merged.

@alexlitvinenko alexlitvinenko deleted the fix-priorities branch February 15, 2020 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants