summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Added unit test for Env.__islocked__(); unit test for Env.__lock__() now ↵Jason Gerard DeRose2009-01-061-3/+22
| | | | also tests with base.lock() function
* Renamed PublicError.code attribute to PublicError.errnoJason Gerard DeRose2009-01-061-8/+8
|
* New Param: added Str length rule methods; added corresponding unit testsJason Gerard DeRose2009-01-051-25/+77
|
* New Param: decided on calling signature for rules; added unit tests for ↵Jason Gerard DeRose2009-01-051-0/+102
| | | | Bytes._rule_minlength, _rule_maxlength, and _rule_length
* New Param: Added Param.get_label() method for a way to retrieve translated ↵Jason Gerard DeRose2009-01-053-7/+52
| | | | message at request time
* Quite a bit of work on new public errors and their unit testsJason Gerard DeRose2009-01-042-8/+84
|
* Added request.ugettext() and request.ungettext() functions; added ↵Jason Gerard DeRose2009-01-041-1/+67
| | | | corresponding unit tests
* request.create_translation() now sets context.ugettext and context.ungettextJason Gerard DeRose2009-01-031-13/+13
|
* Plugin.call() now uses errors2 version of SubprocessErrorJason Gerard DeRose2009-01-031-2/+1
|
* Ported plugin registration errors into errors2.py; plugable.Registrar now ↵Jason Gerard DeRose2009-01-032-7/+93
| | | | raises new errors2 exceptions