summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib
Commit message (Collapse)AuthorAgeFilesLines
...
* Command.output_params not contains params in Command.paramsJason Gerard DeRose2010-02-111-0/+27
|
* Add support for the 'no_create', 'no_update', and 'no_search' Param flagsJason Gerard DeRose2010-02-051-3/+5
|
* Remove __public__ and __proxy__ hold-overs from Plugin classJason Gerard DeRose2010-01-283-118/+0
|
* Fix backend.Executioner unit test.Pavel Zuna2010-01-131-6/+13
| | | | | | | | | | Before the patch that allows to create unshared instances of Connectible objects, all Connection object were deleted at once in destroy_context(). It made sense at the time, because there was always at most one Connection per Connectible subclass and Connectible.disconnect() was called only internally by the Executioner class. Now that we can make arbitrary connections, it makes more sense to delete the Connection object when Connectible.disconnect() is called.
* Take 2: Extensible return values and validation; steps toward a single ↵Jason Gerard DeRose2009-12-106-64/+553
| | | | output_for_cli(); enable more webUI stuff
* Reading INT parameter class should respect radix prefixJohn Dennis2009-11-231-0/+27
| | | | | | | | | | This modifies the original patch by including a unit test, handling floats when passed as unicode, and handling large magnitude values beyond maxint. The INT parameter class was not respecting any radix prefix (e.g. 0x) the user may have supplied. This patch implements _convert_scalar method for the Int class so that we can pass the special radix base of zero to the int constructor telling it to determine the radix from the prefix (if present).
* _convert_scalar() should throw an error if passed a tuple or listRob Crittenden2009-11-171-1/+7
| | | | | A parameter needs to have multivalue set in order to work on lists/tuples and even then _convert_scalar() will be sent one value at a time.
* Change Password param so (password, confirm_password) can be passed to ↵Jason Gerard DeRose2009-10-181-0/+11
| | | | _convert_scalar()
* Removed util.add_global_options() and frontend.ApplicationJason Gerard DeRose2009-10-141-37/+0
|
* Giant webui patch take 2Jason Gerard DeRose2009-10-131-0/+21
|
* Fix unit tests for plugins using baseldap classes.Pavel Zuna2009-10-053-143/+9
|
* Removed PluginProxy and all its usesJason Gerard DeRose2009-08-052-152/+14
|
* Fix Encoder.decode test.Pavel Zuna2009-07-021-1/+1
|
* Fix bug in Encoder where tuples were encoded into lists. Fix Encoder and ↵Pavel Zuna2009-06-102-42/+50
| | | | Command.args_options_2_entry unit tests.
* Completed Param.use_in_context() functionality, which is now used by Command ↵Jason Gerard DeRose2009-05-213-8/+105
| | | | and Object
* Added Param 'include' and 'exclude' kwargs; added frontend.UsesParams base ↵Jason Gerard DeRose2009-05-191-2/+37
| | | | class with methods implementing the filtering to restrict params to only certain contexts
* Add Encoder base class and method decorators to encode arguments/decode ↵Pavel Zuna2009-05-191-0/+144
| | | | return values. Also - unit tests.
* Force xmlrpc tests to run with in_tree=True so config files in /etc/ipa/ ↵Jason Gerard DeRose2009-05-111-51/+51
| | | | don't get read; cleaned up config.Env automagic with regard to running in-tree vs. installed
* Rename errors2.py to errors.py. Modify all affected files.Pavel Zuna2009-04-236-67/+67
|
* Finish work replacing the errors module with errors2Rob Crittenden2009-04-203-291/+2
| | | | | | Once this is committed we can start the process of renaming errors2 as errors. I thought that combinig this into one commit would be more difficult to review.
* Add new type List that converts delimited values into a tupleRob Crittenden2009-03-201-0/+59
|
* Fixed Executioner.execute() so that its 'name' argument doesn't conflict ↵Jason Gerard DeRose2009-03-131-0/+14
| | | | with a param called 'name' (which is a valid param name)
* Add maxvalue and minvalue kwargs and rules to Int and FloatRob Crittenden2009-03-031-0/+168
|
* Add unit test for ipalib.frontend.Command.args_options_2_entry.Pavel Zuna2009-02-241-1/+32
|
* Add pattern matching to Str and BytesJason Gerard DeRose2009-02-171-1/+69
|
* Removed depreciated xmlrpc_marshal() and xmlrpc_unmarshal() functionsJason Gerard DeRose2009-02-171-24/+0
|
* Finished reworked cli.CLI class into cli.cli pluginJason Gerard DeRose2009-02-031-161/+0
|
* Ported xmlclient to subclass from ConnectibleJason Gerard DeRose2009-02-032-62/+69
|
* Removed the depreciated Context and LazyContext classesJason Gerard DeRose2009-02-031-18/+0
|
* Added stuff for managing connections and new Executioner backend base classJason Gerard DeRose2009-02-031-2/+177
|
* Added some missing parameter unit tests; added docstring about ↵Jason Gerard DeRose2009-02-031-3/+41
| | | | Command._repr_iter() and Param.safe_value()
* More work on xmlrpc stuff, started migrated more code to use errors2 instead ↵Jason Gerard DeRose2009-02-031-3/+1
| | | | of errors
* Further migration toward new xmlrcp code; fixed problem with unicode ↵Jason Gerard DeRose2009-02-033-10/+12
| | | | Fault.faultString; fixed problem where ServerProxy method was not called correctly
* Sundry work getting ready to switch to new XML-RPC client/server codeJason Gerard DeRose2009-02-031-1/+15
|
* Added Object.params_minus() method; various small tweaksJason Gerard DeRose2009-02-031-0/+20
|
* Removed depreciated Command.args_to_kw() method; updated CLI to use ↵Jason Gerard DeRose2009-02-031-36/+4
| | | | Command.args_options_2_params() instead
* Added Command.args_options_2_params() method and its unit testsJason Gerard DeRose2009-02-033-3/+52
|
* Command.takes_options and Command.takes_args class attributes can now also ↵Jason Gerard DeRose2009-02-031-2/+2
| | | | be a callable
* Fixed Param.validate() so that self.query is checked after self.requiredJason Gerard DeRose2009-01-201-1/+2
|
* Added rpc.xmlclient backend plugin for forwarding; added corresponding unit ↵Jason Gerard DeRose2009-01-191-2/+79
| | | | tests
* Added missing enumerable parametersJason Gerard DeRose2009-01-181-0/+49
|
* ipalib.rpc: now using allow_none=True after conversation with Rob; added ↵Jason Gerard DeRose2009-01-151-22/+86
| | | | xml_dumps() and xml_loads() functions; some name cleanup
* New Param: added Param.query kwarg for crud operations like Retrieve and ↵Jason Gerard DeRose2009-01-141-2/+9
| | | | Search where criteria should not be validated
* All unit tests now working (except for doctests and Rob's xmlrpc tests)Jason Gerard DeRose2009-01-141-18/+15
|
* New Param: got most of unit tests ported (still have 6 errors); haven't ↵Jason Gerard DeRose2009-01-141-50/+26
| | | | ported doctests yet
* New Param: removed more depreciated 'import ipa_types'Jason Gerard DeRose2009-01-141-1/+1
|
* Removed depreciated code from frontend.py; frontend.py no longer imports ↵Jason Gerard DeRose2009-01-141-414/+0
| | | | ipa_types
* Removed deprecited ipa_types.py and test_ipa_types.pyJason Gerard DeRose2009-01-141-430/+0
|
* New Param: split common Bytes/Str functionality into new Data base class; ↵Jason Gerard DeRose2009-01-141-0/+53
| | | | Str no longer subclasses from Bytes
* Updated all references to 'parameter' module to 'parameters'Jason Gerard DeRose2009-01-141-50/+50
|