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

A collection of minor improvements to tests #26

Merged
merged 3 commits into from
Nov 11, 2023

Conversation

stdedos
Copy link
Collaborator

@stdedos stdedos commented Nov 11, 2023

  • Move --cov-report=html to addopts

    Non---cov invocation is unaffected;
    "no reason" not to generate --cov-report=html in an untracked directory AFAIS.

  • Fix tests running via PyCharm

    Would've been better to get the path via requests.config.rootdir,
    but it looks like a pain to inject the requests fixture here.

  • Improve copy-paste docstring from 8756cc4

Non-`--cov` invocation is unaffected;
"no reason" not to generate `--cov-report=html` in an untracked directory AFAIS.

Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Would've been better to get the path via `requests.config.rootdir`,
but it looks like a pain to inject the `requests` fixture here.

Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c1547d9) 92.16% compared to head (d8db8e4) 92.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   92.16%   92.25%   +0.08%     
==========================================
  Files          18       18              
  Lines         536      542       +6     
  Branches      104      104              
==========================================
+ Hits          494      500       +6     
  Misses         29       29              
  Partials       13       13              
Flag Coverage Δ
3.10 92.06% <100.00%> (+0.08%) ⬆️
3.11 92.06% <100.00%> (+0.08%) ⬆️
3.6 92.06% <100.00%> (+0.08%) ⬆️
3.7 92.06% <100.00%> (+0.08%) ⬆️
3.8 92.06% <100.00%> (+0.08%) ⬆️
3.9 92.06% <100.00%> (+0.08%) ⬆️
macos-latest 92.06% <100.00%> (+0.08%) ⬆️
ubuntu-20.04 92.06% <100.00%> (+0.08%) ⬆️
ubuntu-latest 92.06% <100.00%> (+0.08%) ⬆️
windows-latest 92.06% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
tests/base_tester.py 91.42% <100.00%> (+0.38%) ⬆️
tests/base_tester_test.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stdedos stdedos self-assigned this Nov 11, 2023
@stdedos stdedos added this to the Release v1.1.x milestone Nov 11, 2023
@stdedos stdedos added enhancement New feature or request improvement labels Nov 11, 2023
@stdedos stdedos merged commit e29fe48 into pylint-dev:master Nov 11, 2023
23 checks passed
stdedos added a commit that referenced this pull request Nov 13, 2023
* removes more false positives for unused-argument (#21)
* A collection of minor improvements to tests (#26)
* Windows Artifacts have incorrect Slugification (#25)

Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants