Jason Gerard DeRose
|
4e8ff5c656
|
318: Renamed all references to 'public' module to 'frontend'
|
2008-09-24 00:01:29 +00:00 |
|
Jason Gerard DeRose
|
2842e85d88
|
317: Renamed public.py to frontend.py; renamed test_public.py to test_frontend.py
|
2008-09-23 23:51:03 +00:00 |
|
Jason Gerard DeRose
|
024022c2f9
|
315: Renamed Property.option instance attribute to Property.param
|
2008-09-22 15:33:32 +00:00 |
|
Jason Gerard DeRose
|
49c1c29df1
|
313: Added Object.params instance attribute
|
2008-09-22 00:37:01 +00:00 |
|
Jason Gerard DeRose
|
cbcadb89e4
|
312: Cleaned up docstring for create_param(); Command.finalize() now uses create_param() when creating args and options namespaces
|
2008-09-21 22:43:50 +00:00 |
|
Jason Gerard DeRose
|
952b45f138
|
311: Renamed generate_option() to create_param()
|
2008-09-21 22:18:33 +00:00 |
|
Jason Gerard DeRose
|
14e932a8cd
|
310: generate_option() function now can accept a Param object, which it returns without modification
|
2008-09-21 22:11:14 +00:00 |
|
Jason Gerard DeRose
|
2a708cfebe
|
309: Renamed public.Option to public.Param
|
2008-09-21 22:02:33 +00:00 |
|
Jason Gerard DeRose
|
f73d976bda
|
307: Split Plugin.finalize() into two steps 1) Plugin.set_api() and 2) Plugin.finalize(); updated unit tests
|
2008-09-21 21:50:56 +00:00 |
|
Jason Gerard DeRose
|
5872221bd4
|
306: Added Plugin.set_api() method; added corresponding unit tests
|
2008-09-21 21:30:19 +00:00 |
|
Jason Gerard DeRose
|
4a96ec2dc7
|
304: args, options, & params namespaces are now created in Command.finalize() instead of Command.__init__(); updated corresponding unit tests
|
2008-09-21 18:50:00 +00:00 |
|
Jason Gerard DeRose
|
1ec4f379f5
|
302: Removed depreciated Command.group_args() method
|
2008-09-19 00:00:54 +00:00 |
|
Jason Gerard DeRose
|
f29c827d06
|
301: Command.args_to_kw() now raises ArgumentError if more args than max_args are given
|
2008-09-18 23:53:23 +00:00 |
|
Jason Gerard DeRose
|
e0b900894f
|
300: Added Command.max_args instance attribute; added corresponding unit tests
|
2008-09-18 23:15:34 +00:00 |
|
Jason Gerard DeRose
|
ef0d7a71ab
|
299: Cleaned up unit tests for ReadOnly class
|
2008-09-18 22:39:48 +00:00 |
|
Jason Gerard DeRose
|
5ab45385db
|
295: Updated NameSpace unit tests to test NameSpace.__getitem__() with int and slice
|
2008-09-18 20:48:55 +00:00 |
|
Jason Gerard DeRose
|
84a721d408
|
294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() now works with int and slice objects
|
2008-09-18 20:35:23 +00:00 |
|
Jason Gerard DeRose
|
f78f3ed0dd
|
293: Added Command.kw_to_args() method; added corresponding unit tests
|
2008-09-18 19:39:23 +00:00 |
|
Jason Gerard DeRose
|
4482c71aeb
|
292: Added experimental Command.args_to_kw() method
|
2008-09-14 23:17:36 +00:00 |
|
Jason Gerard DeRose
|
c17c5efb4e
|
287: Renamed Command.args_to_kw() to Command.group_args(), which now returns a tuple instead of dict; updated unit tests
|
2008-09-10 23:18:29 +00:00 |
|
Jason Gerard DeRose
|
7c40226500
|
286: Finished Command.args_to_kw(); finished unit tests for args_to_kw()
|
2008-09-10 21:34:29 +00:00 |
|
Jason Gerard DeRose
|
100492d98a
|
285: Started work on Command.args_to_kw() method; added unit test for functionality so far in args_to_kw()
|
2008-09-10 20:05:45 +00:00 |
|
Jason Gerard DeRose
|
687f603562
|
284: Removed depreciated Command.Option property; removed corresponding unit tests; updated affected code
|
2008-09-10 15:31:34 +00:00 |
|
Jason Gerard DeRose
|
bde377a2da
|
283: Renamed generate_argument() to generate_option()
|
2008-09-10 15:16:17 +00:00 |
|
Jason Gerard DeRose
|
7de450363b
|
282: Added Command.__check_options() method; added unit tests for Command.options instance attribute
|
2008-09-10 15:14:26 +00:00 |
|
Jason Gerard DeRose
|
2d85a6daa3
|
281: Completed unit tests for Command.args
|
2008-09-10 14:54:01 +00:00 |
|
Jason Gerard DeRose
|
cbfacf7c2e
|
280: Renamed Options.options to takes_options; updated related unit tests
|
2008-09-10 14:46:20 +00:00 |
|
Jason Gerard DeRose
|
0d3be2f421
|
278: Completed unit tests for Command.args instance attribute
|
2008-09-10 01:54:48 +00:00 |
|
Jason Gerard DeRose
|
51b6395958
|
277: Added public.generate_argument() function; added corresponding unit tests
|
2008-09-10 01:03:59 +00:00 |
|
Jason Gerard DeRose
|
0215bc8009
|
276: Option.__init__(): doc is now 3rd kwarg instead of 2nd positional arg; updated unit tests and other affected code
|
2008-09-10 00:21:40 +00:00 |
|
Jason Gerard DeRose
|
349fc660e7
|
275: Added Command.__check_args(); added basic unit tests for Command.args instance attribute
|
2008-09-09 23:46:16 +00:00 |
|
Jason Gerard DeRose
|
0453aa465f
|
274: NameSpace.__init__() now takes sort=True keyword arument to allow for non-sorted NameSpaces; updated and improved NameSpace unit tests
|
2008-09-09 23:10:49 +00:00 |
|
Jason Gerard DeRose
|
97b01a4891
|
273: Added Command.get_args() method; added corresponding unit tests
|
2008-09-09 21:18:44 +00:00 |
|
Jason Gerard DeRose
|
13f030d91e
|
271: Improved __repr__ methods for better output from the show-plugins command
|
2008-09-08 21:51:05 +00:00 |
|
Jason Gerard DeRose
|
7d3d607b55
|
268: Fixed broken unit test for Plugin.__repr__()
|
2008-09-08 21:40:46 +00:00 |
|
Jason Gerard DeRose
|
915486dadc
|
260: Option.normalize() now does same conversion for multivalue as Option.convert() does
|
2008-09-04 08:16:12 +00:00 |
|
Jason Gerard DeRose
|
c7cd694d4f
|
259: Option.__normalize_scalar() now raises a TypeError if not isinstance(value, basestring); updated corresponding unit tests
|
2008-09-04 07:47:07 +00:00 |
|
Jason Gerard DeRose
|
01b73e6910
|
257: Improved help command, now parsing options with optparse
|
2008-09-04 06:33:57 +00:00 |
|
Jason Gerard DeRose
|
ab81ca56fd
|
255: CLI help, console commands now subclass from public.Application; other tweeking to make CLI utilize Application
|
2008-09-04 04:39:01 +00:00 |
|
Jason Gerard DeRose
|
e1f8619d4a
|
254: Added public.Application base class; added corresponding unit tests
|
2008-09-04 03:34:16 +00:00 |
|
Jason Gerard DeRose
|
a5c6bf179b
|
253: Fixed error in Option.get_default() where Option.convert() was being called on Option.default; updated corresponding unit tests
|
2008-09-04 02:41:31 +00:00 |
|
Jason Gerard DeRose
|
cf7e4c1038
|
252: Added Command.convert() method; added corresponding unit tests
|
2008-09-04 02:30:40 +00:00 |
|
Jason Gerard DeRose
|
5cdb182ae8
|
251: Fixed Command.validate() so it raises RequirementError; updated and re-enabled unit tests for Command.validate()
|
2008-09-04 02:02:06 +00:00 |
|
Jason Gerard DeRose
|
7e3664a964
|
250: Updated Option.validate to utilize the ValidationError.index attribute; updated unit tests for Option.validate to test use of index attribute
|
2008-09-04 01:01:40 +00:00 |
|
Jason Gerard DeRose
|
b53ff67ff1
|
249: Fixed Option.__convert_scalar() to user index=None instead of position=None; updated unit tests for Option.convert() to test the ConversionError.index attribute
|
2008-09-03 23:21:26 +00:00 |
|
Jason Gerard DeRose
|
296d59d27a
|
247: Added unit tests for errors.RequirementError
|
2008-09-03 22:29:01 +00:00 |
|
Jason Gerard DeRose
|
004e989dc4
|
246: Added unit tests for errors.RuleError
|
2008-09-03 22:14:25 +00:00 |
|
Jason Gerard DeRose
|
6f739bcf67
|
244: Added unit tests for errors.ConversionError
|
2008-09-03 21:53:15 +00:00 |
|
Jason Gerard DeRose
|
390c1aa4ba
|
243: Added unit tests for errors.ValidationError
|
2008-09-03 20:05:24 +00:00 |
|
Jason Gerard DeRose
|
5e8f945a1e
|
242: Started cleanup of custom exceptions; added unit tests for errors.IPAError
|
2008-09-03 19:38:39 +00:00 |
|