Jason Gerard DeRose
|
9b9615df79
|
241: Added additional index=None kwarg to errors.ValidationError.__init__()
|
2008-09-03 18:48:58 +00:00 |
|
Jason Gerard DeRose
|
9548b4b951
|
240: Small change in tstutil.check_TypeError(), cleaned up use of check_TypeError() in test_Option.test_normalize()
|
2008-09-03 18:41:46 +00:00 |
|
Jason Gerard DeRose
|
085ea3f62f
|
239: Added errors.ConversionError; started big clean up of how ValidationError is raised so it works well with multivalues
|
2008-09-03 18:32:49 +00:00 |
|
Jason Gerard DeRose
|
baef0e6f49
|
238: Some docstring cleanup & fixes in test_public.py
|
2008-09-03 00:15:20 +00:00 |
|
Jason Gerard DeRose
|
f45dcdd0d0
|
237: Ported public.Method to new Option; updated corresponding unit tests
|
2008-09-03 00:01:45 +00:00 |
|
Jason Gerard DeRose
|
5bfbbe3c38
|
236: Ported pubic.Command to new Option; updated corresponding unit tests
|
2008-09-02 23:40:44 +00:00 |
|
Jason Gerard DeRose
|
c9662adcf7
|
235: Added Public.option instance attribute; updated corresponding unit tests; disable some broken unit tests
|
2008-09-02 22:19:39 +00:00 |
|
Jason Gerard DeRose
|
4f4e8e2712
|
234: Renamed Option2 to Option
|
2008-09-02 20:33:08 +00:00 |
|
Jason Gerard DeRose
|
2784847b73
|
233: Removed public.Option class; removed corresponding unit tests
|
2008-09-02 20:16:34 +00:00 |
|
Jason Gerard DeRose
|
adf8b9b2d8
|
232: Added Option2.get_values() method; added corresponding unit tests
|
2008-09-02 19:29:00 +00:00 |
|
Jason Gerard DeRose
|
85f7a08e5d
|
231: Added Option2.get_default() method; added corresponding unit tests
|
2008-09-02 19:05:10 +00:00 |
|
Jason Gerard DeRose
|
bc08225dcd
|
230: Renamed allow_None kwarg to allow_none
|
2008-09-02 17:44:07 +00:00 |
|
Jason Gerard DeRose
|
f2da06c5cf
|
229: Option2.__init__() now uses check_type()
|
2008-09-02 17:41:55 +00:00 |
|
Jason Gerard DeRose
|
8b7fe7139d
|
228: plugable.check_name() now uses errors.check_type()
|
2008-09-02 17:29:01 +00:00 |
|
Jason Gerard DeRose
|
6697b955ee
|
227: check_type() and check_isinstance() now take arguments in (value, type_, name) order so the first two match the built-in isinstance() call signature
|
2008-09-02 16:42:39 +00:00 |
|
Jason Gerard DeRose
|
5af91df9a5
|
226: check_type() and check_isinstance() now return the value; updated corresponding unit tests
|
2008-09-02 15:15:03 +00:00 |
|
Jason Gerard DeRose
|
2fa8d3be74
|
225: Added errors.check_type() and errors.check_isinstance() functions; added corresponding unit tests
|
2008-08-29 23:53:04 +00:00 |
|
Jason Gerard DeRose
|
44ff0b3d23
|
224: Reworked IPATypeError class into raise_TypeError function
|
2008-08-29 07:05:06 +00:00 |
|
Jason Gerard DeRose
|
76b30dff15
|
223: IPATypeError takes as first argument, has attribute
|
2008-08-29 06:04:38 +00:00 |
|
Jason Gerard DeRose
|
03daa91d1c
|
222: Fixed broken assertion in IPATypeError; did more work on docstrings in same
|
2008-08-29 04:29:29 +00:00 |
|
Jason Gerard DeRose
|
8dc0e263da
|
221: Added errors.IPATypeError exception; added new test_errors.py module with corresponding unit tests
|
2008-08-29 03:48:33 +00:00 |
|
Jason Gerard DeRose
|
61b5b7a848
|
220: Renamed Option2.validate_scalar() to Option2.__validate_scalar(); added Option2.normalize() method; added corresponding unit tests
|
2008-08-29 03:17:26 +00:00 |
|
Jason Gerard DeRose
|
e1b13a7117
|
219: run-tests.bash now passes -v option to nosetests for verbose output
|
2008-08-29 03:07:58 +00:00 |
|
Jason Gerard DeRose
|
992a5dadbe
|
218: Finished unit tests for Option2.validate(), Option2.validate_scalar()
|
2008-08-28 20:30:08 +00:00 |
|
Jason Gerard DeRose
|
a6ec94da60
|
217: Started work on new Option2 class that is more declarative and doesn't require subclassing from Option
|
2008-08-28 18:31:06 +00:00 |
|
Jason Gerard DeRose
|
283c6f8fce
|
216: Added ipa_types.Enum.validate() method; added corresponding unit tests
|
2008-08-28 07:57:07 +00:00 |
|
Jason Gerard DeRose
|
c83c478ae1
|
215: Added basics of ipa_types.Enum class; added corresponding unit tests
|
2008-08-28 06:56:45 +00:00 |
|
Jason Gerard DeRose
|
07ac867ed3
|
214: Added ipa_types.Bool.validate() method; added corresponding unit tests
|
2008-08-28 05:06:13 +00:00 |
|
Jason Gerard DeRose
|
b865b30511
|
213: Added ipa_type.Bool class; added corresponding unit tests
|
2008-08-28 04:54:48 +00:00 |
|
Jason Gerard DeRose
|
d121a729aa
|
212: Type.__init__() now can also raise TypeError; added unit tests for Type.__init__()
|
2008-08-28 02:45:04 +00:00 |
|
Jason Gerard DeRose
|
81d0726f5e
|
211: run-tests.bash now echos the number of versions the tests ran under
|
2008-08-28 02:35:11 +00:00 |
|
Jason Gerard DeRose
|
039b9a2a9b
|
210: Type.__init__() now takes the type as the first argument, does not use subclass attribute; updated Int, Unicode, and their unit tests accordingly
|
2008-08-28 02:02:03 +00:00 |
|
Jason Gerard DeRose
|
2b01bdc112
|
209: Added Type.__call__() method; fleshed out Type.convert() method; added corresponding unit tests
|
2008-08-28 01:38:29 +00:00 |
|
Jason Gerard DeRose
|
a50f618548
|
208: Made output of run-tests.bash a bit easier to read and also added python2.6 to versions tested
|
2008-08-28 01:15:27 +00:00 |
|
Jason Gerard DeRose
|
5da1d4bb86
|
207: Added Unicode.validate() method and corresponding unit tests
|
2008-08-27 23:40:34 +00:00 |
|
Jason Gerard DeRose
|
8fbc01ca86
|
206: Finished unit tests for Unicode.__init__()
|
2008-08-27 22:56:51 +00:00 |
|
Jason Gerard DeRose
|
2984041d00
|
205: Continued work on Unicode.__init__() and corresponding unit tests
|
2008-08-27 22:26:35 +00:00 |
|
Jason Gerard DeRose
|
e6cecfdcf2
|
204: Fixed logic error in check_min_max(); started work on argument validation for Unicode
|
2008-08-27 21:52:13 +00:00 |
|
Jason Gerard DeRose
|
89ea3acd0a
|
203: Finished ipa_types.check_min_max() function; added corresponding unit tests; ipa_types.Int now uses check_min_max()
|
2008-08-27 21:20:19 +00:00 |
|
Jason Gerard DeRose
|
6b214cbccf
|
202: Started work on type classes in ipa_types module; added corresponding unit tests
|
2008-08-27 20:09:19 +00:00 |
|
Jason Gerard DeRose
|
330c17730c
|
201: Added new cli command 'console' that starts a custom interactive Python console
|
2008-08-27 00:25:33 +00:00 |
|
Jason Gerard DeRose
|
74a3cf8d28
|
200: Added plugins/override.py with an example of overriding a plugin
|
2008-08-26 19:43:56 +00:00 |
|
Jason Gerard DeRose
|
6226837eea
|
199: Updated user_login and user_initials example plugins to use Option.default_from
|
2008-08-26 19:23:50 +00:00 |
|
Jason Gerard DeRose
|
845c0d8bc6
|
198: Renamed Command.default() to Command.get_default(); Command.get_default_iter() now correctly calls Option.get_default() instead of Option.default()
|
2008-08-26 19:13:55 +00:00 |
|
Jason Gerard DeRose
|
0e47948695
|
197: Added new public.Option.get_default() method that calls Option.default_from() if it's a DefaultFrom instance, and otherwise returns Option.default (the static default value)
|
2008-08-26 19:02:24 +00:00 |
|
Jason Gerard DeRose
|
0755c218ff
|
196: DefaultFrom.__call__() now returns values from callback even if not basestring; small work on DefaultFrom docstrings
|
2008-08-26 16:52:46 +00:00 |
|
Jason Gerard DeRose
|
87fabaa717
|
195: Started on docstring for public.DefaultFrom
|
2008-08-26 01:07:24 +00:00 |
|
Jason Gerard DeRose
|
5157d8fc50
|
194: Removed like to Bazaar Plugin doc as it's not very relevant
|
2008-08-26 00:28:43 +00:00 |
|
Jason Gerard DeRose
|
45a6ee50b1
|
193: Removed depreciated public.PublicAPI class; removed corresponding unit tests
|
2008-08-26 00:06:00 +00:00 |
|
Jason Gerard DeRose
|
0d35c96f1a
|
192: Added a quick console example to docstring in ipalib/__init__.py
|
2008-08-26 00:04:15 +00:00 |
|