Skip to content

test: increase projects coverage #2012

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

Merged
merged 1 commit into from
May 10, 2022

Conversation

rnoberger
Copy link
Contributor

No description provided.

@rnoberger rnoberger changed the title test: increase projects coverage #1708 test: increase projects coverage May 8, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 8, 2022

Codecov Report

Merging #2012 (fa47829) into main (ef207da) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2012      +/-   ##
==========================================
+ Coverage   92.58%   92.66%   +0.07%     
==========================================
  Files          78       78              
  Lines        4938     4949      +11     
==========================================
+ Hits         4572     4586      +14     
+ Misses        366      363       -3     
Flag Coverage Δ
cli_func_v4 81.39% <ø> (-0.11%) ⬇️
py_func_v4 80.33% <ø> (-0.16%) ⬇️
unit 83.63% <ø> (+0.15%) ⬆️

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

Impacted Files Coverage Δ
gitlab/v4/cli.py 81.18% <0.00%> (-0.38%) ⬇️
gitlab/cli.py 98.36% <0.00%> (ø)
gitlab/const.py 100.00% <0.00%> (ø)
gitlab/v4/objects/projects.py 89.58% <0.00%> (+0.69%) ⬆️
gitlab/base.py 94.32% <0.00%> (+1.73%) ⬆️

Copy link
Member

@nejch nejch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the PR @rnoberger. I've added the comments on how to reduce the fixture boilerplate as discussed, let me know if anything's unclear.

If applying the suggestions in the UI just make sure to change the commit message on GitHub or amend it later to match our convention :) Thanks!

@rnoberger rnoberger force-pushed the rnoberger/test-projects branch from 0ba035b to fa47829 Compare May 10, 2022 20:06
Copy link
Member

@nejch nejch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this @rnoberger, let us know in case you want to continue working on other parts and need any help :)

@nejch nejch merged commit fd9154e into python-gitlab:main May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants