summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* More docstring cleanup in ipalib.configJason Gerard DeRose2008-12-301-4/+3
|
* Docstring cleanup in the Env bootstraping methodsJason Gerard DeRose2008-12-301-1/+1
|
* Started moving some core classes and functions from plugable.py to new ↵Jason Gerard DeRose2008-12-302-1/+136
| | | | base.py module
* Renamed Env._merge_config() to Env._merge_from_file()Jason Gerard DeRose2008-12-291-7/+7
|
* Finished Env class docstring; more organizational cleanup in Env and its ↵Jason Gerard DeRose2008-12-231-50/+72
| | | | unit tests
* Moved setting of run-time variables from Env.__init__() to Env._bootstrap()Jason Gerard DeRose2008-12-222-14/+11
|
* Some more reorganization in Env and added class docstring to Env with lots ↵Jason Gerard DeRose2008-12-221-33/+31
| | | | of examples
* Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit ↵Jason Gerard DeRose2008-12-222-40/+72
| | | | tests
* The Env.__setitem__() implied conversion is now case sensitive; ↵Jason Gerard DeRose2008-12-221-8/+8
| | | | Env.__setitem__() now also accepts None as a value
* Removed Env.__getattr__(); Env no longer accepts callables for values (no ↵Jason Gerard DeRose2008-12-221-13/+6
| | | | more dynamic/lazy values)
* Removed depreciated code from config.py; removed corresponding unit testsJason Gerard DeRose2008-12-221-161/+1
|
* Plugin.__init__() now checks that subclass hasn't defined attributes that ↵Jason Gerard DeRose2008-12-211-0/+8
| | | | conflict with the logger methods; added corresponding unit test
* Improved Plugin.call() method and added its unit testJason Gerard DeRose2008-12-211-0/+12
|
* Merge branch 'master' of ↵Jason Gerard DeRose2008-12-201-0/+59
|\ | | | | | | git://git.engineering.redhat.com/users/rcritten/freeipa2
| * Add helper for adding Indirect maps.Rob Crittenden2008-12-101-0/+59
| | | | | | | | | | This creates the map and the key pointing to the map. By default the key is associated with the auto.master map but it can be overriden.
* | Added request.create_translation() function and corresponding unit testsJason Gerard DeRose2008-12-181-1/+44
| |
* | Started work on per-request gettext setupJason Gerard DeRose2008-12-181-0/+56
| |
* | New Param: ported Param.__repr__() and corresponding unit testJason Gerard DeRose2008-12-181-0/+12
| |
* | New Param: added unit tests for TypeError cases in DefaultFrom.__init__()Jason Gerard DeRose2008-12-181-0/+8
| |
* | New Param: added missing unit tests for TypeError and ValueError cases in ↵Jason Gerard DeRose2008-12-181-0/+9
| | | | | | | | parse_param_spec()
* | New Param: fixed small bug in Param.convert() and added detailed docstringJason Gerard DeRose2008-12-181-1/+1
| |
* | New Param: fixed a few things in Param.convert() and added corresponding ↵Jason Gerard DeRose2008-12-181-1/+30
| | | | | | | | unit tests
* | Plugin.doc instance attribute is now parsed out using inspect.getdoc(); ↵Jason Gerard DeRose2008-12-171-2/+11
| | | | | | | | added Plugin.summary instance attribute, created in Plugin.__init__()
* | Removed Plugin.doc property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-171-10/+9
| | | | | | | | Plugin.__init__()
* | Removed Plugin.name property and replaced with instance attribute created in ↵Jason Gerard DeRose2008-12-172-6/+13
| | | | | | | | Plugin.__init__()
* | New Param: split class_rules and *rules into separate attributesJason Gerard DeRose2008-12-171-2/+12
| |
* | New Param: added basic rule logicJason Gerard DeRose2008-12-121-2/+8
| |
* | New Param: cleanup up readability of Param.__init__(); added unit tests for ↵Jason Gerard DeRose2008-12-121-0/+9
| | | | | | | | unknown kwargs
* | New Param: added all logic for minlength, maxlength, and length in Bytes ↵Jason Gerard DeRose2008-12-121-1/+56
| | | | | | | | class (which Str inherits)
* | New Param: changed kwargs class attribute to a tuple so the subclass ↵Jason Gerard DeRose2008-12-111-29/+26
| | | | | | | | interface is simpler
* | Copied DefaultFrom into parameter.py; added docstring to new ↵Jason Gerard DeRose2008-12-111-5/+67
| | | | | | | | Param.normalize() method; more work and unit tests in new Param class
* | Finished kwarg validation and extension mechanism in parameter.ParamJason Gerard DeRose2008-12-111-3/+45
| |
* | Started roughing out the consolidated type/parameter system in ↵Jason Gerard DeRose2008-12-101-0/+93
|/ | | | parameters.py; started corresponding unit tests
* Fixed Warning messages about log dir in unit testJason Gerard DeRose2008-12-083-24/+15
|
* Removed depreciated rpc code from ipalib.util; removed corresponding unit ↵Jason Gerard DeRose2008-12-081-99/+0
| | | | tests in test_util
* tests.test_ipalib.test_rpc now imports constants from tests.dataJason Gerard DeRose2008-12-081-32/+16
|
* Re-enable Python2.4 tests and fixed some small things broken under Python2.4Jason Gerard DeRose2008-12-083-3/+4
|
* Added tests/data.py file I forgotJason Gerard DeRose2008-11-251-0/+39
|
* Continued work on xmlrpc.dispatch() unit tests; fixed bug in ↵Jason Gerard DeRose2008-11-251-4/+23
| | | | Command.args_to_kw()
* Started fleshing out doodles in xmlrpc.execute()Jason Gerard DeRose2008-11-251-0/+14
|
* Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc ↵Jason Gerard DeRose2008-11-243-3/+103
| | | | plugin
* Started moving xmlrpc-functions from ipalib.util to ipalib.rpcJason Gerard DeRose2008-11-241-0/+123
|
* Small changed to test_round_trip() testJason Gerard DeRose2008-11-211-3/+5
|
* Added test_util.test_round_trip() test that tests use of xmlrpc_wrap() and ↵Jason Gerard DeRose2008-11-201-28/+86
| | | | xmlrpc_unwrap() with dumps(), loads(); fixed a bug in xmlrpc_unwrap()
* Added util.xmlrpc_wrap(), util.xmlrpc_unwrap() functions an corresponding ↵Jason Gerard DeRose2008-11-191-0/+38
| | | | unit tests
* Added unit test for Param.ispassword() methodJason Gerard DeRose2008-11-181-0/+16
|
* Command.get_defaults() now returns param.default if param.type is a BoolJason Gerard DeRose2008-11-171-4/+4
|
* env plugin now subclasses from RemoteOrLocalJason Gerard DeRose2008-11-141-5/+5
|
* Added frontend.LocalOrRemote command base class for commands like envJason Gerard DeRose2008-11-141-1/+55
|
* Started work on cleaning up how exceptions are caught and sys.exit() is ↵Jason Gerard DeRose2008-11-131-3/+3
| | | | called in ipalib.cli.CLI