summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* New Param: renamed parameter.py to parameters.pyJason Gerard DeRose2009-01-141-0/+0
|
* New Param: Flag now fill-in default=False and also forces default to be a boolJason Gerard DeRose2009-01-141-2/+18
|
* New Param: added new Flag param class and its unit testJason Gerard DeRose2009-01-131-0/+28
|
* New Param: added Param.clone() method and corresponding unit testJason Gerard DeRose2009-01-131-0/+35
|
* New Param: updated Str._convert_scalar() so it raises a ConversionErrorJason Gerard DeRose2009-01-131-6/+12
|
* New Param: implemented a base Param._convert_scalar() method; added ↵Jason Gerard DeRose2009-01-131-7/+22
| | | | Param.type_error attribute for ConversionError message
* New Param: updated Bytes and Str length rules to use new rule(_, value) ↵Jason Gerard DeRose2009-01-131-70/+72
| | | | calling signature; updated corresponding unit tests
* New Param: ported create_param() function and unit testsJason Gerard DeRose2009-01-131-0/+32
|
* New Param: added Param.get_default() method and detailed docstring; added ↵Jason Gerard DeRose2009-01-121-0/+79
| | | | corresponding unit tests
* New Param: added Param.validate() and Param._validate_scalar() methods; ↵Jason Gerard DeRose2009-01-121-1/+141
| | | | added corresponding unit tests
* Changed PublicError so str(e) is untranslated (for logging) and added ↵Jason Gerard DeRose2009-01-081-17/+112
| | | | format=None kwarg for generic use