summaryrefslogtreecommitdiff
path: root/tests/functional/conftest.py
Commit message (Collapse)AuthorAgeFilesLines
* 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