summaryrefslogtreecommitdiff
path: root/gitlab/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update tests for list() changesGauvain Pocentek2017-08-042-5/+10
|
* Restore correct exceptionsGauvain Pocentek2017-07-151-1/+1
| | | | | | Match the exceptions raised in v3 for v4. Also update the doc strings with correct information.
* 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.
* Remove unused future.division importGauvain Pocentek2017-06-111-1/+0
| | | | We don't do math.
* tests for objects mixinsGauvain Pocentek2017-06-051-0/+57
|
* Add tests for managers mixinsGauvain Pocentek2017-06-051-0/+354
|
* Basic test for GitlabListGauvain Pocentek2017-06-051-1/+47
|
* Unit tests for REST* classesGauvain Pocentek2017-06-051-0/+129
|
* Tests and fixes for the http_* methodsGauvain Pocentek2017-06-021-0/+220
|
* update copyright yearsGauvain Pocentek2017-05-243-3/+3
|
* Merge branch 'v4_support'Gauvain Pocentek2017-05-241-1/+1
|\
| * Reorganise the code to handle v3 and v4 objectsGauvain Pocentek2017-05-231-1/+1
| | | | | | | | | | | | Having objects managing both versions will only make the code more complicated, with lots of tests everywhere. This solution might generate some code duplication, but it should be maintainable.
* | 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.
* Add 'search' attribute to projects.list()Gauvain Pocentek2017-05-231-3/+3
| | | | projects.search() has been deprecated by Gitlab
* Stop listing if recursion limit is hit (#234)Johan Brandhorst2017-03-231-0/+70
|
* Snippet: content() -> raw()Gauvain Pocentek2016-12-261-2/+2
| | | | | Using the content() method causes conflicts with the API `content` attribute.
* Added support for Snippets (new API in Gitlab 8.15)Guyzmo2016-12-241-0/+34
| | | | | | cf [Gitlab-CE MR !6373](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6373) Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
* Remove _get_list_or_object() and its testsGauvain Pocentek2016-08-132-65/+0
|
* tests: don't use deprecated Content methodGauvain Pocentek2016-07-181-2/+2
|
* fix unit testsGauvain Pocentek2016-07-171-1/+1
|
* define UserManager.get_by_username() to get a user by usernameRichard Hansen2016-02-121-0/+26
|
* define UserManager.search() to search for usersRichard Hansen2016-02-121-0/+23
|
* Add some unit tests for CLIGauvain Pocentek2016-02-052-4/+95
| | | | Reorganize the cli.py code to ease the testing.
* Add support for application settingsGauvain Pocentek2016-01-271-0/+39
|
* fix the test_create_unknown_path testGauvain Pocentek2016-01-231-4/+3
|
* Fix the json() method for python 3Gauvain Pocentek2016-01-231-0/+9
| | | | Also add unit tests and fix pep8 test
* add unit tests for managersGauvain Pocentek2016-01-161-3/+23
|
* 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.
* Add support for groups searchGauvain Pocentek2016-01-091-0/+23
| | | | | | | Factorize the code to avoid duplication with the ProjectManager class. Implement unit tests for the group search. Original patchh from Daniel Serodio (PR #55).
* unit tests for config parserGauvain Pocentek2016-01-091-0/+111
|
* Implement ProjectManager search/list methodsGauvain Pocentek2016-01-081-0/+69
| | | | | | The existing Gitlab methods are deprecated. Unit tests have been added.
* Deprecate the "old" Gitlab methodsGauvain Pocentek2016-01-081-13/+29
| | | | Update the associated unit tests.
* add unit tests for BaseManagerGauvain Pocentek2016-01-031-0/+147
|
* GitLab -> Gitlab (class names)Gauvain Pocentek2016-01-032-4/+4
|
* fix the testsGauvain Pocentek2015-12-311-3/+7
|
* Rename the _created attribute _from_apiGauvain Pocentek2015-12-312-5/+5
|
* 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-122-22/+23
|
* make the tests passGauvain Pocentek2015-05-122-91/+183
|
* setup tox for py27 and py34 testsGauvain Pocentek2015-05-111-0/+0
|
* move the tests inside the packageGauvain Pocentek2015-05-112-0/+1001