summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_cli.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: move 'gitlab/tests/' dir to 'tests/unit/'John L. Villalovos2021-05-261-157/+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-2/+1
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* test(cli): add more real class scenariosNejc Habjan2021-05-151-0/+6
|
* fix(cli): fix parsing CLI objects to classnamesNejc Habjan2021-05-151-10/+27
|
* chore: mypy: Disallow untyped definitionsJohn L. Villalovos2021-04-271-3/+2
| | | | | | | | | Be more strict and don't allow untyped definitions on the files we check. Also this adds type-hints for two of the decorators so that now functions/methods decorated by them will have their types be revealed correctly.
* refactor: split unit tests by GitLab API resourcesNejc Habjan2020-08-221-115/+105
|
* chore: run unittest2pytest on all unit testsNejc Habjan2020-08-221-35/+35
|
* refactor: remove six dependencyMax Wittig2019-12-181-4/+3
|
* feat(test): unused unittest2, type -> isinstanceCyril Jouve2019-10-131-23/+16
|
* fix(cli): don't fail when the short print attr value is Nonexarx002019-07-211-1/+1
| | | | | Fixes #717 Fixes #727
* refactor: format everything blackrefactor/blackMax Wittig2019-05-161-30/+35
|
* silence logs/warnings in unittestsCyril Jouve2018-06-071-5/+26
|
* Add missing project attributesGauvain Pocentek2018-05-291-0/+7
|
* Drop API v3 supportGauvain Pocentek2018-05-191-43/+0
| | | | Drop the code, the tests, and update the documentation.
* Add basic unit tests for v4 CLIGauvain Pocentek2018-03-111-0/+37
|
* [cli] Allow to read args from filesGauvain Pocentek2018-03-051-0/+25
| | | | | | | With the @/file/path syntax (similar to curl) user can provide values from attributes in files. Fixes #448
* Refactor the CLIGauvain Pocentek2017-06-251-15/+22
| | | | | | | v3 and v4 CLI will be very different, so start moving things in their own folders. For now v4 isn't working at all.
* update copyright yearsGauvain Pocentek2017-05-241-1/+1
|
* Add some unit tests for CLIGauvain Pocentek2016-02-051-0/+95
Reorganize the cli.py code to ease the testing.