summaryrefslogtreecommitdiff
path: root/gitlab/tests
Commit message (Collapse)AuthorAgeFilesLines
* feat(users): add follow/unfollow APIfeat/user-follow-apiMax Wittig2021-02-271-0/+80
|
* test: don't add duplicate fixtureMax Wittig2021-02-241-26/+0
| | | Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
* feat(projects): add project access token apiMax Wittig2021-02-241-0/+139
|
* feat(objects): add Release Links API supportNejc Habjan2021-02-212-0/+141
|
* Merge pull request #1308 from Sineaggi/add-project-audit-endpointNejc Habjan2021-02-201-0/+79
|\ | | | | feat: add project audit endpoint
| * chore(tests): remove unused URL segmentNejc Habjan2021-02-201-2/+2
| |
| * feat: add project audit endpointClayton Walker2021-02-191-0/+79
| |
* | refactor: move Gitlab and GitlabList to gitlab/client.pyJohn L. Villalovos2021-02-181-0/+1
|/ | | | | | | | Move the classes Gitlab and GitlabList from gitlab/__init__.py to the newly created gitlab/client.py file. Update one test case that was depending on requests being defined in gitlab/__init__.py
* feat: add personal access token APIfeat/personal-access-token-apiMax Wittig2021-02-171-0/+46
| | | | See: https://docs.gitlab.com/ee/api/personal_access_tokens.html
* feat(issues): add missing get verb to IssueManagerfeat/single-issue-apiNejc Habjan2021-02-061-2/+21
|
* feat: import from bitbucket serverDan Fuchs2021-02-041-0/+38
| | | | | | | | | | | | | I'd like to use this libary to automate importing Bitbucket Server repositories into GitLab. There is a [GitLab API endpoint](https://docs.gitlab.com/ee/api/import.html#import-repository-from-bitbucket-server) to do this, but it is not exposed through this library. * Add an `import_bitbucket_server` method to the `ProjectManager`. This method calls this GitLab API endpoint: https://docs.gitlab.com/ee/api/import.html#import-repository-from-bitbucket-server * Modify `import_gitlab` method docstring for python3 compatibility * Add a skipped stub test for the existing `import_github` method
* test(api,cli): add tests for custom user agentNejc Habjan2021-01-312-2/+46
|
* Merge pull request #1200 from ↵Max Wittig2020-10-291-0/+294
|\ | | | | | | | | robinson96/feature/project_merge_request_approval_rules Feature/project merge request approval rules
| * test: add test_project_merge_request_approvals.pyPeter B. Robinson2020-10-141-0/+294
| |
* | fix(base): really refresh objectfix/delete-attrMax Wittig2020-10-121-0/+7
| | | | | | | | | | | | This fixes and error, where deleted attributes would not show up Fixes #1155
* | feat: unit tests addedAlex Zirka2020-10-081-0/+111
|/
* Merge pull request #1180 from Shkurupii/add-unittests-for-project-badgesNejc Habjan2020-09-101-0/+210
|\ | | | | test: add unit tests for badges API
| * test: add unit tests for badges APIOleksii Shkurupii2020-09-071-0/+210
| |
* | feat(api): add support for user identity provider deletionfeat/delete-user-identitiesNejc Habjan2020-09-071-0/+17
| |
* | test: add unit tests for resource label events APIOleksii Shkurupii2020-09-041-0/+105
|/
* test(api): add tests for variables APINejc Habjan2020-08-311-0/+193
|
* Merge pull request #1157 from Shkurupii/issue-1154Max Wittig2020-08-291-0/+73
|\ | | | | Add support to resource milestone events
| * chore: make latest black happy with existing codeOleksii Shkurupii2020-08-292-4/+16
| |
| * test: add unit tests for resource milestone events APIOleksii Shkurupii2020-08-281-0/+73
| | | | | | | | Fixes #1154
* | Merge pull request #1159 from python-gitlab/feat/project-artifactsMax Wittig2020-08-291-0/+31
|\ \ | | | | | | Feat: Project job artifacts for latest successful pipeline
| * | chore: remove unnecessary importNejc Habjan2020-08-281-2/+0
| | |
| * | feat(api): add endpoint for latest ref artifactsNejc Habjan2020-08-281-0/+33
| | |
| * | chore: make latest black happy with existing codeNejc Habjan2020-08-282-4/+16
| |/
* | test(packages): add tests for Packages APINejc Habjan2020-08-292-0/+124
| |
* | chore: make latest black happy with existing codeNejc Habjan2020-08-292-4/+16
|/
* refactor: rewrite unit tests for objects with responsesrefactor/split-unit-testsNejc Habjan2020-08-2324-940/+900
|
* refactor: split unit tests by GitLab API resourcesNejc Habjan2020-08-2232-2438/+2636
|
* chore: run unittest2pytest on all unit testsNejc Habjan2020-08-2212-439/+446
|
* test(runners): add all runners unit testsfeat/group-runnersMax Wittig2020-05-162-0/+289
|
* ci: lint fixesChristopher Zorn2020-04-211-14/+18
|
* ci: add a test for creating and triggering pipeline scheduleChristopher Zorn2020-04-211-0/+61
|
* Merge pull request #1075 from python-gitlab/feat/available-servicesNejc Habjan2020-04-171-1/+125
|\ | | | | feat(services): add project service list API
| * chore: fix typo in docstringfeat/available-servicesNejc Habjan2020-04-171-1/+1
| |
| * feat(services): add project service list APIMax Wittig2020-04-161-1/+125
| | | | | | | | | | Can be used to list available services It was introduced in GitLab 12.7
* | feat: allow an environment variable to specify config locationJeremy Cline2020-04-161-0/+11
|/ | | | | | | | It can be useful (especially in scripts) to specify a configuration location via an environment variable. If the "PYTHON_GITLAB_CFG" environment variable is defined, treat its value as the path to a configuration file and include it in the set of default configuration locations.
* Merge pull request #1059 from python-gitlab/fix/raise-fromMax Wittig2020-04-071-0/+19
|\ | | | | chore: use raise..from for chained exceptions (#939)
| * chore: use raise..from for chained exceptions (#939)fix/raise-fromNejc Habjan2020-03-301-0/+19
| |
* | Merge pull request #1052 from machine424/deploy-tokens-supportMax Wittig2020-04-071-0/+34
|\ \ | | | | | | feat(api): add support for Gitlab Deploy Token API
| * | feat(api): add support for Gitlab Deploy Token APIayoub mrini2020-04-061-0/+34
| |/
* | feat(api): add support for remote mirrors API (#1056)feat/project-remote-mirrorsNejc Habjan2020-04-071-0/+94
| |
* | test(api): add tests for group export/import APINejc Habjan2020-04-055-46/+139
| |
* | test(types): reproduce get_for_api splitting strings (#1057)Nejc Habjan2020-03-281-1/+9
|/
* feat: add support for commit GPG signature APINejc Habjan2020-03-221-0/+27
|
* test: create separate module for commit testsNejc Habjan2020-03-222-44/+79
|
* test: move mocks to top of moduleNejc Habjan2020-03-181-100/+102
|