summaryrefslogtreecommitdiff
path: root/tests/functional/conftest.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: ensure reset_gitlab() succeedsJohn L. Villalovos2021-12-281-0/+30
| | | | | | | | | Ensure reset_gitlab() succeeds by waiting to make sure everything has been deleted as expected. If the timeout is exceeded fail the test. Not using `wait_for_sidekiq` as it didn't work. During testing I didn't see any sidekiq processes as being busy even though not everything was deleted.
* chore(api): temporarily remove topic delete endpointNejc Habjan2021-12-111-2/+0
| | | | It is not yet available upstream.
* feat(api): add support for Topics APINejc Habjan2021-12-111-0/+2
|
* chore(tests): apply review suggestionsNejc Habjan2021-11-281-3/+3
|
* test(cli): improve basic CLI coveragetest/cli-coverageNejc Habjan2021-11-271-10/+10
|
* chore: rename `master` branch to `main`chore/master-to-mainNejc Habjan2021-10-111-1/+1
| | | | | BREAKING CHANGE: As of python-gitlab 3.0.0, the default branch for development has changed from `master` to `main`.
* 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(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(functional): optionally keep containers running post-testsBen Brown2021-06-011-0/+23
| | | | | | 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.
* chore: rename 'tools/functional/' to 'tests/functional/'John L. Villalovos2021-05-261-0/+462
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