summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Change Param.__repr__() so it returns the exact expression that could create ↵Jason Gerard DeRose2008-11-131-0/+12
| | | | it; added unit test for Param.__repre__()
* Added util.make_repr() function; added corresponding unit testsJason Gerard DeRose2008-11-131-2/+14
|
* output_for_cli signature is now output_for_cli(textui, result, *args, **options)Jason Gerard DeRose2008-11-121-10/+9
|
* Changed calling signature of output_for_cli(); started work on 'textui' ↵Jason Gerard DeRose2008-11-121-0/+25
| | | | backend plugin
* Renamed ipalib.get_standard_api() to create_api()Jason Gerard DeRose2008-11-111-1/+1
|
* Finished fist draft of plugin tutorial in ipalib/__init__.py docstringJason Gerard DeRose2008-11-071-2/+1
|
* Tests for the automount pluginRob Crittenden2008-11-041-0/+184
|
* Add new tests for hosts and groups of hostsRob Crittenden2008-11-042-0/+277
|
* Skip tests if the remote XML-RPC server is not responding.Rob Crittenden2008-11-034-3/+53
|
* Initial tests for user, group and service plugin APIRob Crittenden2008-11-034-0/+403
|
* Partially revert back change. Del shouldn't provide default options.Rob Crittenden2008-11-031-3/+2
| | | | It can provide custom ones though, if defined with takes_params() in the class.
* Reoganized global option functionality to it is easy for any script to use ↵Jason Gerard DeRose2008-10-311-10/+15
| | | | the environment-related global options; lite-xmlrpc.py now uses same global options
* Fixed test_Del.test_get_options()Jason Gerard DeRose2008-10-301-9/+5
|
* Added tests.util.get_api() function to create a standard (api, home) tuple ↵Jason Gerard DeRose2008-10-303-27/+26
| | | | for unit testing
* Did some initial work for Context pluginsJason Gerard DeRose2008-10-301-2/+20
|
* API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵Jason Gerard DeRose2008-10-272-3/+4
| | | | env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True
* More CLI cleanup, got all basics working againJason Gerard DeRose2008-10-271-64/+77
|
* More docstrings, functionality, and unit tests for improved CLI classJason Gerard DeRose2008-10-271-0/+44
|
* Unit test for CLI.boostrap() now checks that -e overrides and values from ↵Jason Gerard DeRose2008-10-272-1/+43
| | | | config files are merged in correctly