Jason Gerard DeRose
|
46e37ab144
|
New Param: ported Param.__repr__() and corresponding unit test
|
2008-12-18 11:21:12 -07:00 |
|
Jason Gerard DeRose
|
4d1681176a
|
New Param: added unit tests for TypeError cases in DefaultFrom.__init__()
|
2008-12-18 02:08:41 -07:00 |
|
Jason Gerard DeRose
|
cb2f294cfe
|
New Param: added missing unit tests for TypeError and ValueError cases in parse_param_spec()
|
2008-12-18 01:57:39 -07:00 |
|
Jason Gerard DeRose
|
ac335bc7ea
|
New Param: fixed small bug in Param.convert() and added detailed docstring
|
2008-12-18 01:18:17 -07:00 |
|
Jason Gerard DeRose
|
bf8154fa50
|
New Param: fixed a few things in Param.convert() and added corresponding unit tests
|
2008-12-18 00:02:38 -07:00 |
|
Jason Gerard DeRose
|
4f24f0fd88
|
Plugin.doc instance attribute is now parsed out using inspect.getdoc(); added Plugin.summary instance attribute, created in Plugin.__init__()
|
2008-12-17 23:08:52 -07:00 |
|
Jason Gerard DeRose
|
171ed58367
|
Removed Plugin.doc property and replaced with instance attribute created in Plugin.__init__()
|
2008-12-17 21:57:58 -07:00 |
|
Jason Gerard DeRose
|
69041c3b1b
|
Removed Plugin.name property and replaced with instance attribute created in Plugin.__init__()
|
2008-12-17 21:47:43 -07:00 |
|
Jason Gerard DeRose
|
ba481e7712
|
New Param: split class_rules and *rules into separate attributes
|
2008-12-17 18:32:46 -07:00 |
|
Jason Gerard DeRose
|
e05fd7ab03
|
New Param: added basic rule logic
|
2008-12-12 04:48:25 -07:00 |
|
Jason Gerard DeRose
|
66faffdfb0
|
New Param: cleanup up readability of Param.__init__(); added unit tests for unknown kwargs
|
2008-12-12 03:38:02 -07:00 |
|
Jason Gerard DeRose
|
5272949bfd
|
New Param: added all logic for minlength, maxlength, and length in Bytes class (which Str inherits)
|
2008-12-12 03:13:58 -07:00 |
|
Jason Gerard DeRose
|
079721da2c
|
New Param: changed kwargs class attribute to a tuple so the subclass interface is simpler
|
2008-12-11 22:39:50 -07:00 |
|
Jason Gerard DeRose
|
64ae4bc986
|
Copied DefaultFrom into parameter.py; added docstring to new Param.normalize() method; more work and unit tests in new Param class
|
2008-12-11 20:30:59 -07:00 |
|
Jason Gerard DeRose
|
5c47b56d14
|
Finished kwarg validation and extension mechanism in parameter.Param
|
2008-12-11 18:07:54 -07:00 |
|
Jason Gerard DeRose
|
22209a0f03
|
Started roughing out the consolidated type/parameter system in parameters.py; started corresponding unit tests
|
2008-12-10 21:14:05 -07:00 |
|
Rob Crittenden
|
c34d2b8923
|
Add helper for adding Indirect maps.
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.
|
2008-12-10 14:15:20 -05:00 |
|
Jason Gerard DeRose
|
7e21ea5ad8
|
Fixed Warning messages about log dir in unit test
|
2008-12-08 16:56:24 -07:00 |
|
Jason Gerard DeRose
|
4591057203
|
Removed depreciated rpc code from ipalib.util; removed corresponding unit tests in test_util
|
2008-12-08 15:15:50 -07:00 |
|
Jason Gerard DeRose
|
f4f010ae8d
|
tests.test_ipalib.test_rpc now imports constants from tests.data
|
2008-12-08 15:10:01 -07:00 |
|
Jason Gerard DeRose
|
8a2902a2a2
|
Re-enable Python2.4 tests and fixed some small things broken under Python2.4
|
2008-12-08 12:34:38 -07:00 |
|
Jason Gerard DeRose
|
5e1605f7e1
|
Added tests/data.py file I forgot
|
2008-11-25 14:27:23 -07:00 |
|
Jason Gerard DeRose
|
29d680b211
|
Continued work on xmlrpc.dispatch() unit tests; fixed bug in Command.args_to_kw()
|
2008-11-25 13:52:40 -07:00 |
|
Jason Gerard DeRose
|
7350ccbffe
|
Started fleshing out doodles in xmlrpc.execute()
|
2008-11-25 11:54:51 -07:00 |
|
Jason Gerard DeRose
|
2d458a1233
|
Stared some RPC-related error cleanup; started work on ipa_server.rcp.xmlrpc plugin
|
2008-11-24 21:34:01 -07:00 |
|
Jason Gerard DeRose
|
237c16f0fd
|
Started moving xmlrpc-functions from ipalib.util to ipalib.rpc
|
2008-11-24 12:51:03 -07:00 |
|
Jason Gerard DeRose
|
c02770129d
|
Small changed to test_round_trip() test
|
2008-11-21 15:05:39 -07:00 |
|
Jason Gerard DeRose
|
75bdea29be
|
Added test_util.test_round_trip() test that tests use of xmlrpc_wrap() and xmlrpc_unwrap() with dumps(), loads(); fixed a bug in xmlrpc_unwrap()
|
2008-11-20 12:41:06 -07:00 |
|
Jason Gerard DeRose
|
cfe4ec2175
|
Added util.xmlrpc_wrap(), util.xmlrpc_unwrap() functions an corresponding unit tests
|
2008-11-19 16:11:23 -07:00 |
|
Jason Gerard DeRose
|
500b816681
|
Added unit test for Param.ispassword() method
|
2008-11-18 16:29:08 -07:00 |
|
Jason Gerard DeRose
|
8474bd01da
|
Command.get_defaults() now returns param.default if param.type is a Bool
|
2008-11-17 18:50:30 -07:00 |
|
Jason Gerard DeRose
|
9de56d43f0
|
env plugin now subclasses from RemoteOrLocal
|
2008-11-14 21:58:39 -07:00 |
|
Jason Gerard DeRose
|
36737c2d91
|
Added frontend.LocalOrRemote command base class for commands like env
|
2008-11-14 21:29:46 -07:00 |
|
Jason Gerard DeRose
|
f5594dd489
|
Started work on cleaning up how exceptions are caught and sys.exit() is called in ipalib.cli.CLI
|
2008-11-13 23:29:35 -07:00 |
|
Jason Gerard DeRose
|
860d391f3e
|
Change Param.__repr__() so it returns the exact expression that could create it; added unit test for Param.__repre__()
|
2008-11-13 22:16:04 -07:00 |
|
Jason Gerard DeRose
|
8ad5502354
|
Added util.make_repr() function; added corresponding unit tests
|
2008-11-13 21:07:47 -07:00 |
|
Jason Gerard DeRose
|
f04aaff97c
|
output_for_cli signature is now output_for_cli(textui, result, *args, **options)
|
2008-11-12 09:55:11 -07:00 |
|
Jason Gerard DeRose
|
014af24731
|
Changed calling signature of output_for_cli(); started work on 'textui' backend plugin
|
2008-11-12 00:46:04 -07:00 |
|
Jason Gerard DeRose
|
f3869d7b24
|
Renamed ipalib.get_standard_api() to create_api()
|
2008-11-11 15:24:18 -07:00 |
|
Jason Gerard DeRose
|
c26a3c8542
|
Finished fist draft of plugin tutorial in ipalib/__init__.py docstring
|
2008-11-07 02:26:38 -07:00 |
|
Rob Crittenden
|
d10a5131f8
|
Tests for the automount plugin
|
2008-11-04 16:21:31 -05:00 |
|
Rob Crittenden
|
906e75b7af
|
Add new tests for hosts and groups of hosts
|
2008-11-04 14:04:06 -05:00 |
|
Rob Crittenden
|
d6502f0ba8
|
Skip tests if the remote XML-RPC server is not responding.
|
2008-11-03 18:04:25 -05:00 |
|
Rob Crittenden
|
a97f5d76d1
|
Initial tests for user, group and service plugin API
|
2008-11-03 17:31:32 -05:00 |
|
Rob Crittenden
|
f18c84444d
|
Partially revert back change. Del shouldn't provide default options.
It can provide custom ones though, if defined with takes_params() in the class.
|
2008-11-03 13:14:46 -05:00 |
|
Jason Gerard DeRose
|
a23d41a57f
|
Reoganized global option functionality to it is easy for any script to use the environment-related global options; lite-xmlrpc.py now uses same global options
|
2008-10-31 18:17:08 -06:00 |
|
Jason Gerard DeRose
|
a360b6479c
|
Fixed test_Del.test_get_options()
|
2008-10-30 17:47:56 -06:00 |
|
Jason Gerard DeRose
|
2fee6a3e20
|
Added tests.util.get_api() function to create a standard (api, home) tuple for unit testing
|
2008-10-30 01:34:46 -06:00 |
|
Jason Gerard DeRose
|
ddb5449c7f
|
Did some initial work for Context plugins
|
2008-10-30 01:11:33 -06:00 |
|
Jason Gerard DeRose
|
83d6c95e46
|
API.load_plugins() no longer takes dry_run=False kwarg and instead checks in env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True
|
2008-10-27 23:39:43 -06:00 |
|