summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlab.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "make as_list work for all queries"Gauvain Pocentek2018-06-171-60/+7
| | | | | | This reverts commit 8e787612fa77dc945a4c1327e9faa6eee10c48f2. This change broke the basic generator usage (Fixes #534)
* make as_list work for all queriesCyril Jouve2018-06-071-7/+60
|
* silence logs/warnings in unittestsCyril Jouve2018-06-071-1/+1
|
* Drop GetFromListMixinGauvain Pocentek2018-05-191-3/+3
|
* Drop API v3 supportGauvain Pocentek2018-05-191-602/+13
| | | | Drop the code, the tests, and update the documentation.
* Default to API v4Gauvain Pocentek2018-02-051-3/+3
|
* Add missing mocking on unit testGauvain Pocentek2017-11-101-1/+11
|
* Rework authentication args handlingGauvain Pocentek2017-11-101-0/+49
| | | | | | | | * Raise exceptions when conflicting arguments are used * Build the auth headers when instanciating Gitlab, not on each request * Enable anonymous Gitlab objects (#364) Add docs and unit tests
* Module's base objects serialization (#359)Lyudmil Nenov2017-11-031-0/+9
| | | | | | | | Make gitlab objects serializable With current implementation of API v3 and v4 support, some instances have properties of type module and are not serializable. Handle these properties manually with setstate and getstate methods.
* Pagination generators: expose more informationGauvain Pocentek2017-11-011-0/+6
| | | | | | | Expose the X-* pagination attributes returned by the Gitlab server when requesting lists. Closes #304
* Update tests for list() changesGauvain Pocentek2017-08-041-3/+8
|
* Basic test for GitlabListGauvain Pocentek2017-06-051-1/+47
|
* Tests and fixes for the http_* methodsGauvain Pocentek2017-06-021-0/+220
|
* Deprecate parameter related methods in gitlab.GitlabGauvain Pocentek2017-05-241-25/+8
| | | | | | | | These methods change the auth information and URL, and might have some unwanted side effects. Users should create a new Gitlab instance to change the URL and authentication information.
* Stop listing if recursion limit is hit (#234)Johan Brandhorst2017-03-231-0/+70
|
* Remove _get_list_or_object() and its testsGauvain Pocentek2016-08-131-28/+0
|
* fix unit testsGauvain Pocentek2016-07-171-1/+1
|
* fix the test_create_unknown_path testGauvain Pocentek2016-01-231-4/+3
|
* Support deletion without getting the object firstGauvain Pocentek2016-01-101-1/+19
| | | | Use this feature in the CLI to avoid an extra API call to the server.
* Rework gitlab._sanitizeGauvain Pocentek2016-01-101-0/+16
| | | | | | Make it a recursive function and eliminate _sanitize_dict. Add unit tests.
* Deprecate the "old" Gitlab methodsGauvain Pocentek2016-01-081-13/+29
| | | | Update the associated unit tests.
* GitLab -> Gitlab (class names)Gauvain Pocentek2016-01-031-3/+3
|
* fix the testsGauvain Pocentek2015-12-311-3/+7
|
* Rename the _created attribute _from_apiGauvain Pocentek2015-12-311-2/+2
|
* don't list everything by defaultGauvain Pocentek2015-08-211-5/+4
|
* fix pep8 testGauvain Pocentek2015-08-211-11/+10
|
* issue #63 add unit tests for 'next' link handling in list()Jason Antman2015-08-051-0/+51
|
* Fix the tests when the host runs a web serverGauvain Pocentek2015-05-131-1/+12
|
* use more pythonic names for some methodsGauvain Pocentek2015-05-121-6/+6
|
* make the tests passGauvain Pocentek2015-05-121-56/+131
|
* move the tests inside the packageGauvain Pocentek2015-05-111-0/+569