summaryrefslogtreecommitdiff
path: root/gitlab/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* chore: clean up for black and flake8Nejc Habjan2020-03-181-11/+7
|
* chore: flatten test_import_githubNejc Habjan2020-03-181-25/+26
|
* chore: move test_import_github into TestProjectImportNejc Habjan2020-03-182-29/+27
|
* test: add unit tests for Project ImportNejc Habjan2020-03-181-0/+53
|
* test: add unit tests for Project ExportNejc Habjan2020-03-181-1/+70
|
* test: prepare base project test class for more testsNejc Habjan2020-03-181-4/+9
|
* feat(api): add support for GitLab OAuth Applications APIMateusz Filipowicz2020-03-011-0/+27
|
* Merge pull request #1026 from nejch/feat/user-membershipsMax Wittig2020-02-241-0/+32
|\ | | | | feat: add support for user memberships API (#1009)
| * feat: add support for user memberships API (#1009)Nejc Habjan2020-02-221-0/+32
| |
* | test: add unit tests for base URLs with trailing slashesNejc Habjan2020-02-231-0/+17
|/
* test: remove duplicate resp_get_projectNejc Habjan2020-02-191-9/+1
|
* test: use lazy object in unit testsNejc Habjan2020-02-191-1/+1
|
* test: add unit tests for revert commit APINejc Habjan2020-02-191-0/+52
|
* feat: add appearance APIfeat/appearanceMax Wittig2020-01-221-0/+120
|
* Merge pull request #980 from python-gitlab/refactor/cleanup-upgradeRoger Meier2019-12-182-15/+14
|\ | | | | Refactor/cleanup upgrade
| * refactor: remove six dependencyMax Wittig2019-12-182-15/+14
| |
* | test: add project snippet testsMax Wittig2019-12-182-0/+140
|/
* feat: add support for /import/githubAndrew Tergis2019-12-161-0/+27
| | | | | | | | | | | | | | | | | | | Addresses python-gitlab/python-gitlab#952 This adds a method to the `ProjectManager` called `import_github`, which maps to the `/import/github` API endpoint. Calling `import_github` will trigger an import operation from <repo_id> into <target_namespace>, using <personal_access_token> to authenticate against github. In practice a gitlab server may take many 10's of seconds to respond to this API call, so we also take the liberty of increasing the default timeout (only for this method invocation). Unfortunately since `import` is a protected keyword in python, I was unable to follow the endpoint structure with the manager namespace. I'm open to suggestions on a more sensible interface. I'm successfully using this addition to batch-import hundreds of github repositories into gitlab.
* test: added tests for statisticsMitar2019-12-121-0/+56
|
* test: test that all is ignored, when as_list=Falsefix/as_listMax Wittig2019-12-081-0/+18
|