| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks for this PR! I left a few comments, but overall it is looking great 👍 |
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #1484 +/- ##
==========================================
+ Coverage 90.98% 91.00% +0.02%
==========================================
Files 73 73
Lines 4080 4091 +11
==========================================
+ Hits 3712 3723 +11
Misses 368 368
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Sorry, something went wrong.
|
Would it be possible for you to add some unit tests as well for this? |
Sorry, something went wrong.
There are no unit tests for project wikis. Not sure it makes sense to have unit tests for groups only. Could think about adding functional tests. Makes sense? |
Sorry, something went wrong.
I just triggered the workflow. Group Wikis are a Premium/EE feature so let's see if this works in the CE container 😁 And you're right, we'd need to create a new test_wikis.py module with a group wiki mock response for this. There are examples in other modules if the functional tests fail (if it fails, maybe add @pytest.mark.skip to the functional test that you added, for now). Edit: it failed (gitlab.exceptions.GitlabCreateError: 404: 404 Not Found), so maybe add a skip marker and if you need any help with unit tests let us know :) |
Sorry, something went wrong.
|
FYI: Running tox -e black locally should resolve the black formatting issues. |
Sorry, something went wrong.
|
Thanks a lot @spamsch 😊 Looks good to me. Personally I would like it if it was rebased and squashed. As right now there are six commits and one of them is a merge commit. I think it will make the project history be better if it was rebased and squashed. Not sure what @nejch and @max-wittig think. |
Sorry, something went wrong.
Ok, i can also squash on merge and add the unit tests along with project wiki tests in a follow-up. Just not from my phone on my commute right now.. :D |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This pull request adds support for wikis on Group level
Closes #1224