summaryrefslogtreecommitdiff
path: root/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
* test(cli): improve basic CLI coveragetest/cli-coverageNejc Habjan2021-11-275-19/+68
|
* feat: add support for `projects.groups.list()`jlvillal/project_groupsJohn L. Villalovos2021-11-261-0/+18
| | | | | | Add support for `projects.groups.list()` endpoint. Closes #1717
* chore: correct test_groups.py testjlvillal/func_testJohn L. Villalovos2021-11-191-0/+4
| | | | | | | | | The test was checking twice if the same group3 was not in the returned list. Should have been checking for group3 and group4. Also added a test that only skipped one group and checked that the group was not in the returned list and a non-skipped group was in the list.
* refactor: use f-strings for string formattingNejc Habjan2021-11-055-8/+6
|
* feat(api): add project milestone promotionRaimund Hook2021-10-271-0/+21
| | | | | | Adds promotion to Project Milestones Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
* feat(api): add project label promotionRaimund Hook2021-10-181-0/+24
| | | | | | Adds a mixin that allows the /promote endpoint to be called. Signed-off-by: Raimund Hook <raimund.hook@exfo.com>
* chore: rename `master` branch to `main`chore/master-to-mainNejc Habjan2021-10-116-21/+21
| | | | | BREAKING CHANGE: As of python-gitlab 3.0.0, the default branch for development has changed from `master` to `main`.
* chore(deps): upgrade gitlab-ce to 14.3.2-ce.0Nejc Habjan2021-10-081-1/+1
|
* refactor(objects): remove deprecated constants defined in objectsNejc Habjan2021-09-111-1/+1
| | | | | BREAKING CHANGE: remove deprecated constants defined in gitlab.v4.objects, and use only gitlab.const module
* refactor(objects): remove deprecated tag release APINejc Habjan2021-09-081-4/+0
| | | | | BREAKING CHANGE: remove deprecated tag release API. This was removed in GitLab 14.0
* refactor(objects): remove deprecated members.all() methodNejc Habjan2021-09-081-1/+0
| | | | | BREAKING CHANGE: remove deprecated members.all() method in favor of members_all.list()
* chore: attempt to fix flaky functional testJohn L. Villalovos2021-09-081-1/+9
| | | | | Add an additional check to attempt to solve the flakiness of the test_merge_request_should_remove_source_branch() test.
* chore: fix mypy pre-commit hookNejc Habjan2021-08-223-0/+0
|
* fix(api): do not require Release name for creationEric Davies2021-07-271-0/+18
| | | | | Stop requiring a `name` attribute for creating a Release, since a release name has not been required since GitLab 12.5.
* test(functional): add mr.merge_ref testsMatej Focko2021-07-211-0/+32
| | | | | | | - Add test for using merge_ref on non-merged MR - Add test for using merge_ref on MR with conflicts Signed-off-by: Matej Focko <mfocko@redhat.com>
* Merge pull request #1533 from sugonyak/add-group-hooksNejc Habjan2021-06-271-0/+13
|\ | | | | feat(api): add group hooks
| * chore: skip EE test case in functional testsNejc Habjan2021-06-271-0/+1
| |
| * feat(api): add group hooksIvan Sugonyak2021-06-261-0/+12
| |
* | test(releases): integration for release PUTPierre Paques2021-06-261-0/+9
|/
* fix: functional project service test (#1500)John Villalovos2021-06-093-3/+8
| | | chore: fix functional project service test
* feat: add keys endpointBen Brown2021-06-031-0/+42
|
* feat(objects): add support for Group wikis (#1484)Simon Pamies2021-06-031-0/+15
| | | feat(objects): add support for Group wikis
* test(functional): force delete users on resetBen Brown2021-06-011-1/+1
| | | | | | | Timing issues between requesting group deletion and GitLab enacting that deletion resulted in errors while attempting to delete a user which was the sole owner of said group (see: test_groups). Pass the 'hard_delete' parameter to ensure user deletion.
* test(api): fix issues testBen Brown2021-06-011-3/+3
| | | | Was incorrectly using the issue 'id' vs 'iid'.
* test(functional): explicitly remove deploy tokens on resetBen Brown2021-06-011-0/+4
| | | | | Deploy tokens would remain in the instance if the respective project or group was deleted without explicitly revoking the deploy tokens first.
* test(cli): replace assignment expressionBen Brown2021-06-011-5/+3
| | | | | This is a feature added in 3.8, removing it allows for the test to run with lower python versions.
* test(functional): optionally keep containers running post-testsBen Brown2021-06-012-1/+24
| | | | | | Additionally updates token creation to make use of `first_or_create()`, to avoid errors from the script caused by GitLab constraints preventing duplicate tokens with the same value.
* feat(objects): add support for generic packages APINejc Habjan2021-05-312-1/+98
|
* feat(objects): add support for descendant groups APINejc Habjan2021-05-291-0/+1
|
* chore: rename 'tools/functional/' to 'tests/functional/'John L. Villalovos2021-05-2627-0/+3067
Rename the 'tools/functional/' directory to 'tests/functional/' This makes more sense as these are functional tests and not tools. This was dicussed in: https://github.com/python-gitlab/python-gitlab/discussions/1468