summaryrefslogtreecommitdiffstats
path: root/ipalib/tests
Commit message (Collapse)AuthorAgeFilesLines
* 363: Added Object.params_minus_pk instance attributeJason Gerard DeRose2008-09-251-0/+5
|
* 362: Implemented Get.get_args() and Del.get_args(); added corresponding unit ↵Jason Gerard DeRose2008-09-251-3/+26
| | | | tests
* 361: Implemented crud.Add.get_options() method; added corresponding unit testsJason Gerard DeRose2008-09-251-1/+31
|
* 360: Removed Method.get_options() default implementation; cleaned up unit ↵Jason Gerard DeRose2008-09-251-24/+12
| | | | tests for Method
* 359: Added Object.primary_key instance attribute; added corresponding unit testsJason Gerard DeRose2008-09-251-0/+51
|
* 356: Modified Method.get_options() to now pull from self.obj.params(); ↵Jason Gerard DeRose2008-09-251-17/+3
| | | | updated unit tests for Method.get_options()
* 355: Object.set_api() now creates Object.params namespace by merging ↵Jason Gerard DeRose2008-09-251-0/+2
| | | | takes_params and properties together intelegintly
* 354: Added NameSpace.__todict__() method that returns copy of ↵Jason Gerard DeRose2008-09-241-0/+1
| | | | NameSpace.__map; updated NameSpace unit test to also test __todict__()
* 353: The Object.parms instance attribute is now created in Object.set_api() ↵Jason Gerard DeRose2008-09-241-9/+13
| | | | instead of in Object.__init__()
* 352: Now removed Object.Property property and added in its place ↵Jason Gerard DeRose2008-09-241-6/+8
| | | | Object.properties instance attribute
* 351: Removed Object.Method property and added in its place Object.methods ↵Jason Gerard DeRose2008-09-241-5/+4
| | | | instance attribute
* 350: If Param default_from kwarg is callable but not a DefaltFrom instances, ↵Jason Gerard DeRose2008-09-241-1/+6
| | | | the instance is created implicity
* 348: If no keys are passed to DefaultFrom.__init__(), the keys from ↵Jason Gerard DeRose2008-09-241-0/+7
| | | | callback.func_code.co_varnames are used; updated DefaultFrom unit tests to test this usage
* 347: Added primary_key instance attribute to Param and corresponding kwarg; ↵Jason Gerard DeRose2008-09-241-3/+21
| | | | expanded unit tests for Param.__init__()
* 346: Added skeleton framework for crud.py module and corresponding ↵Jason Gerard DeRose2008-09-241-0/+80
| | | | test_crud.py module
* 344: Added Param.__clone__() method; added corresponding unit testsJason Gerard DeRose2008-09-241-2/+31
|
* 342: Added unit test that TypeError is raised when Param() is created with ↵Jason Gerard DeRose2008-09-241-0/+4
| | | | extra kw args
* 341: Param now only takes type_=ipa_types.Unicode() as an optional ↵Jason Gerard DeRose2008-09-241-0/+20
| | | | positional arg, and the rest as pure kwargs
* 340: Changed default for Param.required to TrueJason Gerard DeRose2008-09-241-1/+1
|
* 339: Added parse_param_spec() function and corresponding unit testsJason Gerard DeRose2008-09-241-0/+12
|
* 336: Param.__dispatch() now returns None for any in (None, '', u'', tuple(), ↵Jason Gerard DeRose2008-09-241-4/+11
| | | | []) regardless whether Param is multivalue
* 335: If Command.__convert_scalar() is called with None, it now returns None ↵Jason Gerard DeRose2008-09-241-6/+3
| | | | instead of raising TypeError
* 333: Param.convert() now uses name Param.__multivalue() helper method as ↵Jason Gerard DeRose2008-09-241-0/+1
| | | | Param.normalize()
* 332: Param.normalize() now returns None if multivalue and len() == 0Jason Gerard DeRose2008-09-241-5/+7
|
* 331: Param.normalize() no longer raises a TypeError when value in not a ↵Jason Gerard DeRose2008-09-241-3/+3
| | | | basestring
* 330: Command.normalize() now normalizes all keys, not just keys in paramsJason Gerard DeRose2008-09-241-1/+0
|
* 329: Command.convert() now converts all keys, not just keys in paramsJason Gerard DeRose2008-09-241-2/+0
|
* 323: Added Command.run() method that dispatches to execute() or forward(); ↵Jason Gerard DeRose2008-09-241-0/+32
| | | | added corresponding unit tests
* 320: plugable.API now respects the Plugin.__proxy__ flag; added test for ↵Jason Gerard DeRose2008-09-242-0/+20
| | | | plugins without proxy to unit tests for API
* 319: Added new backend and tests.test_backend modules; added place-holder ↵Jason Gerard DeRose2008-09-242-1/+37
| | | | Backend class and corresponding unit tests
* 318: Renamed all references to 'public' module to 'frontend'Jason Gerard DeRose2008-09-241-76/+76
|
* 317: Renamed public.py to frontend.py; renamed test_public.py to ↵Jason Gerard DeRose2008-09-231-0/+0
| | | | test_frontend.py
* 315: Renamed Property.option instance attribute to Property.paramJason Gerard DeRose2008-09-221-4/+4
|
* 313: Added Object.params instance attributeJason Gerard DeRose2008-09-221-0/+18
|
* 312: Cleaned up docstring for create_param(); Command.finalize() now uses ↵Jason Gerard DeRose2008-09-211-1/+1
| | | | create_param() when creating args and options namespaces
* 311: Renamed generate_option() to create_param()Jason Gerard DeRose2008-09-211-3/+3
|
* 310: generate_option() function now can accept a Param object, which it ↵Jason Gerard DeRose2008-09-211-0/+1
| | | | returns without modification
* 309: Renamed public.Option to public.ParamJason Gerard DeRose2008-09-211-20/+20
|
* 307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) ↵Jason Gerard DeRose2008-09-212-32/+16
| | | | Plugin.finalize(); updated unit tests
* 306: Added Plugin.set_api() method; added corresponding unit testsJason Gerard DeRose2008-09-211-0/+14
|
* 304: args, options, & params namespaces are now created in ↵Jason Gerard DeRose2008-09-211-7/+17
| | | | Command.finalize() instead of Command.__init__(); updated corresponding unit tests
* 302: Removed depreciated Command.group_args() methodJason Gerard DeRose2008-09-191-34/+2
|
* 301: Command.args_to_kw() now raises ArgumentError if more args than ↵Jason Gerard DeRose2008-09-181-2/+16
| | | | max_args are given
* 300: Added Command.max_args instance attribute; added corresponding unit testsJason Gerard DeRose2008-09-181-5/+20
|
* 299: Cleaned up unit tests for ReadOnly classJason Gerard DeRose2008-09-181-34/+35
|
* 295: Updated NameSpace unit tests to test NameSpace.__getitem__() with int ↵Jason Gerard DeRose2008-09-181-10/+17
| | | | and slice
* 294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() ↵Jason Gerard DeRose2008-09-181-1/+1
| | | | now works with int and slice objects
* 293: Added Command.kw_to_args() method; added corresponding unit testsJason Gerard DeRose2008-09-181-19/+32
|
* 292: Added experimental Command.args_to_kw() methodJason Gerard DeRose2008-09-141-0/+15
|
* 287: Renamed Command.args_to_kw() to Command.group_args(), which now returns ↵Jason Gerard DeRose2008-09-101-13/+13
| | | | a tuple instead of dict; updated unit tests