Commit Graph

116 Commits

Author SHA1 Message Date
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
992a5dadbe 218: Finished unit tests for Option2.validate(), Option2.validate_scalar() 2008-08-28 20:30:08 +00:00
Jason Gerard DeRose
b4ad681f41 143: Added errors.RequirementError exception; cmd.validate() now raises RequirementError if a required option is missing 2008-08-13 05:14:12 +00:00
Jason Gerard DeRose
47fed6c4c2 142: python2.4: Fixed custom exceptions in errors.py as exceptions in Python2.4 are not new-style classes 2008-08-13 04:11:26 +00:00
Jason Gerard DeRose
fdfa827a36 86: Actually change *all* tab indentation to 4-space: 'sed s/\t/ /g' 2008-08-08 21:40:03 +00:00
Jason Gerard DeRose
8e46824815 81: Switch from tab to 4-space indentation 2008-08-08 17:11:29 +00:00
Jason Gerard DeRose
14a0658464 76: Fleshed out opt.validate(); added corresponding unit tests 2008-08-07 06:23:02 +00:00
Jason Gerard DeRose
fadbae6420 72: Started work on public.opt class; added corresponding unit tests 2008-08-07 03:38:49 +00:00
Jason Gerard DeRose
f13f1226b4 65: Finished simplified Proxy2 class; updated unit tests 2008-08-06 21:54:56 +00:00
Jason Gerard DeRose
56fa454fdd 47: Added plugable.check_identifier() function; added corresponding unit tests 2008-08-05 06:33:09 +00:00
Jason Gerard DeRose
d7569a84b9 31: Renamed exceptions.py to errors.py 2008-07-31 18:57:10 +00:00