summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* chore: fix mypy pre-commit hookNejc Habjan2021-08-015-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-273-31/+199
|\ | | | | 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-263-31/+198
| |
* | test(releases): integration for release PUTPierre Paques2021-06-261-0/+9
| |
* | test(releases): add unit-tests for release updatePierre Paques2021-06-261-0/+39
|/
* feat(api): add MR pipeline manager in favor of pipelines() methodNejc Habjan2021-06-131-0/+64
|
* fix: catch invalid type used to initialize RESTObjectJohn L. Villalovos2021-06-101-0/+5
| | | | | | | | Sometimes we have errors where we don't get a dictionary passed to RESTObject.__init__() method. This breaks things but in confusing ways. Check in the __init__() method and raise an exception if it occurs.
* fix: functional project service test (#1500)John Villalovos2021-06-093-3/+8
| | | chore: fix functional project service test
* feat: add keys endpointBen Brown2021-06-032-0/+96
|
* 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-313-2/+165
|
* feat(api): add deployment mergerequests interfaceLudwig Weiss2021-05-301-0/+56
|
* chore: apply suggestionsNejc Habjan2021-05-301-3/+7
|
* feat(objects): support all issues statistics endpointsNejc Habjan2021-05-301-3/+22
|
* feat(objects): add support for descendant groups APINejc Habjan2021-05-292-0/+59
|
* feat(objects): add pipeline test report supportRaphaƫl Monat2021-05-291-1/+53
|
* chore: move 'gitlab/tests/' dir to 'tests/unit/'John L. Villalovos2021-05-2655-0/+5852
| | | | | Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the tests located under the 'tests/' directory.
* 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
* drop the tests dir, this is uselessGauvain Pocentek2013-06-222-156/+0
|
* unittest for SSH keysGauvain Pocentek2013-02-171-0/+24
|
* some unit tests!Gauvain Pocentek2013-02-162-0/+132