| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## main #1628 +/- ##
=======================================
Coverage 91.92% 91.92%
=======================================
Files 74 74
Lines 4295 4295
=======================================
Hits 3948 3948
Misses 347 347
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you very much @lgatellier!
You are right that the group runner should only inherit from ListMixin. Whether you'd like to add this here - or open a new PR - is up to you :)
Sorry, something went wrong.
|
Funny, looks like there were actually some unit tests written that mocked POST/DELETE responses to the group runner. I'll check if this might be an undocumented API in gitlab already.. |
Sorry, something went wrong.
@lgatellier I think you can safely delete the following to make it pass: and as real GitLab servers would not work with this. |
Sorry, something went wrong.
|
I removed the 2 test cases. @pytest.fixture
def resp_runner_enable():
with responses.RequestsMock() as rsps:
pattern = re.compile(r".*?(projects|groups)/1/runners")
@pytest.fixture
def resp_runner_disable():
with responses.RequestsMock() as rsps:
pattern = re.compile(r".*?/(groups|projects)/1/runners/6") |
Sorry, something went wrong.
That's right @lgatellier, thank you! |
Sorry, something went wrong.
|
@lgatellier would you mind rebasing this onto the main branch? |
Sorry, something went wrong.
|
@nejch all done, mocked responses are fixed, and branch is rebased ! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Deletes the 'project-runner get' command which does'nt match any existing Gitlab API resource.
Closes #1608.