summaryrefslogtreecommitdiff
path: root/tools/functional/conftest.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: rename 'tools/functional/' to 'tests/functional/'John L. Villalovos2021-05-261-462/+0
| | | | | | | | | 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
* chore: add a merge_request() pytest fixture and use itJohn L. Villalovos2021-05-251-0/+71
| | | | | Added a pytest.fixture for merge_request(). Use this fixture in tools/functional/api/test_merge_requests.py
* chore: have flake8 check the entire projectJohn L. Villalovos2021-04-301-1/+0
| | | | | Have flake8 run at the top-level of the projects instead of just the gitlab directory.
* fix: extend wait timeout for test_delete_user()John L. Villalovos2021-02-211-2/+8
| | | | | | | | | | | | | | | | | | | | | | | Have been seeing intermittent failures of the test_delete_user() functional test. Have made the following changes to hopefully resolve the issue and if it still fails to know better why the failure occurred. * Extend the wait timeout for test_delete_user() from 30 to 60 tries of 0.5 seconds each. * Modify wait_for_sidekiq() to return True if sidekiq process terminated. Return False if the timeout expired. * Modify wait_for_sidekiq() to loop through all processes instead of assuming there is only one process. If all processes are not busy then return. * Modify wait_for_sidekiq() to sleep at least once before checking for processes being busy. * Check for True being returned in test_delete_user() call to wait_for_sidekiq()
* test(api): add functional test for release links APINejc Habjan2021-02-211-0/+33
|
* test(cli): add test for job artifacts downloadfix/cli-binary-dataNejc Habjan2020-10-121-0/+30
|
* chore: apply suggestionsrefactor/split-functional-testsNejc Habjan2020-10-081-1/+0
|
* refactor(tests): split functional testsNejc Habjan2020-10-081-15/+95
|
* chore: use helper fixtures for test directoriestest/cleanup-envNejc Habjan2020-09-151-11/+17
|
* chore: remove unnecessary random functionNejc Habjan2020-09-151-20/+11
|
* test(env): replace custom scripts with pytest and docker-composeNejc Habjan2020-09-151-4/+95
|
* chore(test): use pathlib for pathsfeat/instance-variables-apiNejc Habjan2020-08-311-2/+2
|
* test(api): add tests for variables APINejc Habjan2020-08-311-21/+6
|
* test(cli): convert shell tests to pytest test casestest/pytest-cli-testsNejc Habjan2020-04-261-0/+171