summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_crud.py
Commit message (Collapse)AuthorAgeFilesLines
* Add API version and have server reject incompatible clients.Rob Crittenden2011-01-141-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | This patch contains 2 parts. The first part is a small utility to create and validate the current API. To do this it needs to load ipalib which on a fresh system introduces a few problems, namely that it relies on a python plugin to set the default encoding to utf8. For our purposes we can skip that. It is also important that any optional plugins be loadable so the API can be examined. The second part is a version exchange between the client and server. The version has a major and a minor version. The major verion is updated whenever existing API changes. The minor version is updated when new API is added. A request will be rejected if either the major versions don't match or if the client major version is higher than then server major version (though by implication new API would return a command not found if allowed to proceed). To determine the API version of the server from a client use the ping command. ticket 584
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Fix non XML-RPC testsJason Gerard DeRose2010-02-191-8/+13
|
* Add support for the 'no_create', 'no_update', and 'no_search' Param flagsJason Gerard DeRose2010-02-051-3/+5
|
* Take 2: Extensible return values and validation; steps toward a single ↵Jason Gerard DeRose2009-12-101-1/+130
| | | | output_for_cli(); enable more webUI stuff
* Fix unit tests for plugins using baseldap classes.Pavel Zuna2009-10-051-134/+0
|
* Completed Param.use_in_context() functionality, which is now used by Command ↵Jason Gerard DeRose2009-05-211-1/+1
| | | | and Object
* Partially revert back change. Del shouldn't provide default options.Rob Crittenden2008-11-031-3/+2
| | | | It can provide custom ones though, if defined with takes_params() in the class.
* Fixed test_Del.test_get_options()Jason Gerard DeRose2008-10-301-9/+5
|
* API.env is now an Env instance rather than an Environment instanceJason Gerard DeRose2008-10-271-1/+1
|
* Fixed unit test for CrudBacked.retrieve()Jason Gerard DeRose2008-10-171-1/+1
|
* Reworking Environment, moved it to config.pyMartin Nagy2008-10-171-1/+1
|
* Added CrudBackend abstract class defining generic CRUD APIJason Gerard DeRose2008-10-131-0/+51
|
* crud.Add.get_args() and get_options() now yield static values in takes_args, ↵Jason Gerard DeRose2008-10-091-2/+11
| | | | takes_options after the automagic ones
* Restructured test_crud.py around new CrudChecker base classJason Gerard DeRose2008-10-081-85/+83
|
* Made docstrings in test_crud.py contistent with restJason Gerard DeRose2008-10-071-10/+26
|
* Renamed tests/tstutil.py to tests/util.pyJason Gerard DeRose2008-10-071-1/+1
|
* Moved tstutil.py into base of tests so it can be used by all test ↵Jason Gerard DeRose2008-10-071-1/+1
| | | | subpackages more easily
* Cleaned up package and module level docstrings for everything in tests/Jason Gerard DeRose2008-10-071-1/+1
|
* Moved ipalib/tests/ into tests/test_ipalib/Jason Gerard DeRose2008-10-071-0/+168