summaryrefslogtreecommitdiff
path: root/gitlab/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* feat: add users activate, deactivate functionalityMax Wittig2019-10-251-0/+25
| | | | These were introduced in GitLab 12.4
* feat: add deployment creationfeat/deployment-createMax Wittig2019-10-241-0/+44
| | | | | | Added in GitLab 12.4 Fixes #917
* feat(test): unused unittest2, type -> isinstanceCyril Jouve2019-10-137-64/+33
|
* Merge pull request #904 from jouve/remove-cred-authMax Wittig2019-10-131-62/+1
|\ | | | | remove deprecated session auth
| * feat(auth): remove deprecated session authCyril Jouve2019-10-121-62/+1
| |
* | test: remove warning about open files from test_todo()Derek Schrock2019-10-121-4/+5
|/ | | | | | When running unittests python warns that the json file from test_todo() was still open. Use with to open, read, and create encoded json data that is used by resp_get_todo().
* test(submodules): correct test methodfeat/update_submoduleMax Wittig2019-10-061-4/+4
|
* feat(project): implement update_submoduleSebastian Kratzert2019-10-061-0/+50
|
* refactor: remove unused code, simplify string formatgodaji2019-10-061-3/+0
|
* test(todo): add unittestsMax Wittig2019-09-082-0/+121
|
* style: format with blackMax Wittig2019-09-071-3/+1
|
* test(status): add user status testMax Wittig2019-09-071-10/+31
|
* feat: add support for job tokenMathieu Parent2019-09-061-1/+16
| | | | See https://docs.gitlab.com/ee/api/jobs.html#get-job-artifacts for usage
* feat: add methods to retrieve an individual project environmentTom Forbes2019-08-201-0/+30
|
* fix: improve pickle supportbourgesl2019-07-211-0/+1
|
* fix(cli): don't fail when the short print attr value is Nonexarx002019-07-211-1/+1
| | | | | Fixes #717 Fixes #727
* fix: convert # to %23 in URLsfix/779Gauvain Pocentek2019-06-081-0/+43
| | | | | | Refactor a bit to handle this change, and add unit tests. Closes #779
* refactor: format everything blackrefactor/blackMax Wittig2019-05-166-418/+486
|
* Make gitlab.Gitlab.from_config a classmethodjeroen_decroos2019-03-071-0/+32
|
* fix: use python2 compatible syntax for superfix/python-testsMax Wittig2019-02-221-1/+5
|
* Implement __eq__ and __hash__ methodsJonathan Piron2019-02-201-0/+23
| | | | To ease lists and sets manipulations.
* fix(cli): exit on config parse error, instead of crashingMax Wittig2018-11-041-3/+17
| | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error
* Revert "make as_list work for all queries"Gauvain Pocentek2018-06-171-60/+7
| | | | | | This reverts commit 8e787612fa77dc945a4c1327e9faa6eee10c48f2. This change broke the basic generator usage (Fixes #534)
* make as_list work for all queriesCyril Jouve2018-06-071-7/+60
|