summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_config.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: move 'gitlab/tests/' dir to 'tests/unit/'John L. Villalovos2021-05-261-247/+0
| | | | | Move the 'gitlab/tests/' directory to 'tests/unit/' so we have all the tests located under the 'tests/' directory.
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-3/+2
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* chore: fix F401 errors reported by flake8John L. Villalovos2021-04-181-1/+0
| | | | | | F401: Module imported but unused https://www.flake8rules.com/rules/F401.html
* chore: fix E711 error reported by flake8John L. Villalovos2021-04-181-5/+5
| | | | | | E711: Comparison to none should be 'if cond is none:' https://www.flake8rules.com/rules/E711.html
* chore: fix E712 errors reported by flake8John L. Villalovos2021-04-181-3/+3
| | | | | | E712: Comparison to true should be 'if cond is true:' or 'if cond:' https://www.flake8rules.com/rules/E712.html
* chore: make lint happyKay-Uwe (Kiwi) Lorenz2021-03-071-13/+22
|
* fix: make secret helper more user friendlyKay-Uwe (Kiwi) Lorenz2021-03-071-11/+25
|
* fix: linting issues and testKay-Uwe (Kiwi) Lorenz2021-03-061-0/+4
|
* chore: add testKay-Uwe (Kiwi) Lorenz2021-03-061-0/+11
|
* test(api,cli): add tests for custom user agentNejc Habjan2021-01-311-1/+32
|
* refactor: split unit tests by GitLab API resourcesNejc Habjan2020-08-221-102/+104
|
* chore: run unittest2pytest on all unit testsNejc Habjan2020-08-221-41/+40
|
* feat: allow an environment variable to specify config locationJeremy Cline2020-04-161-0/+11
| | | | | | | | It can be useful (especially in scripts) to specify a configuration location via an environment variable. If the "PYTHON_GITLAB_CFG" environment variable is defined, treat its value as the path to a configuration file and include it in the set of default configuration locations.
* refactor: remove six dependencyMax Wittig2019-12-181-11/+11
|
* feat(test): unused unittest2, type -> isinstanceCyril Jouve2019-10-131-4/+1
|
* refactor: format everything blackrefactor/blackMax Wittig2019-05-161-23/+23
|
* fix(cli): exit on config parse error, instead of crashingMax Wittig2018-11-041-3/+17
| | | | * Exit and hint user about possible errors * test: adjust test cases to config missing error
* add per_page config optionCyril Jouve2018-05-221-1/+15
|
* Add support for oauth and anonymous auth in config/CLIGauvain Pocentek2017-11-101-5/+22
|
* Support SSL verification via internal CA bundleMaura Hausman2017-08-041-0/+15
| | | | | - Also updates documentation - See issues #204 and #270
* update copyright yearsGauvain Pocentek2017-05-241-1/+1
|
* unit tests for config parserGauvain Pocentek2016-01-091-0/+111