Jason Gerard DeRose
|
244346dbcb
|
More work on xmlrpc stuff, started migrated more code to use errors2 instead of errors
|
2009-02-03 15:29:01 -05:00 |
|
Jason Gerard DeRose
|
24b6cb89d4
|
Further migration toward new xmlrcp code; fixed problem with unicode Fault.faultString; fixed problem where ServerProxy method was not called correctly
|
2009-02-03 15:29:01 -05:00 |
|
Jason Gerard DeRose
|
9f48612a56
|
Sundry work getting ready to switch to new XML-RPC client/server code
|
2009-02-03 15:29:00 -05:00 |
|
Jason Gerard DeRose
|
6aadeb9aea
|
Added Object.params_minus() method; various small tweaks
|
2009-02-03 15:29:00 -05:00 |
|
Jason Gerard DeRose
|
f3a84683d2
|
Removed depreciated Command.args_to_kw() method; updated CLI to use Command.args_options_2_params() instead
|
2009-02-03 15:29:00 -05:00 |
|
Jason Gerard DeRose
|
ae39dece13
|
Added Command.args_options_2_params() method and its unit tests
|
2009-02-03 15:29:00 -05:00 |
|
Jason Gerard DeRose
|
6e53d03c69
|
Command.takes_options and Command.takes_args class attributes can now also be a callable
|
2009-02-03 15:28:59 -05:00 |
|
Jason Gerard DeRose
|
5616af19b1
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2009-01-21 12:42:40 -07:00 |
|
Jason Gerard DeRose
|
f22f3eabb2
|
Fixed Param.validate() so that self.query is checked after self.required
|
2009-01-20 09:38:39 -07:00 |
|
Jason Gerard DeRose
|
55fba5420d
|
Added rpc.xmlclient backend plugin for forwarding; added corresponding unit tests
|
2009-01-19 21:10:42 -07:00 |
|
Rob Crittenden
|
98ab09fafc
|
Initial implementation of netgroups
|
2009-01-19 10:40:12 -05:00 |
|
Rob Crittenden
|
0dd1ba3721
|
Add some negative testing to the user and group plugin tests
|
2009-01-19 10:40:11 -05:00 |
|
Rob Crittenden
|
322992ae4b
|
Revert change that caused XML-RPC tests to be skipped
|
2009-01-19 10:40:11 -05:00 |
|
Jason Gerard DeRose
|
364e05def1
|
Added missing enumerable parameters
|
2009-01-18 15:55:56 -07:00 |
|
Jason Gerard DeRose
|
f2e479c33e
|
rpcserver now uses xml_dumps() and xml_loads() functions
|
2009-01-16 01:47:03 -07:00 |
|
Jason Gerard DeRose
|
a04857a239
|
Renamed ipaserver.rpc to ipaserver.rpcserver
|
2009-01-16 00:00:15 -07:00 |
|
Jason Gerard DeRose
|
6be5e4a0a5
|
ipalib.rpc: now using allow_none=True after conversation with Rob; added xml_dumps() and xml_loads() functions; some name cleanup
|
2009-01-15 23:52:50 -07:00 |
|
Jason Gerard DeRose
|
cd3508bace
|
New Param: added Param.query kwarg for crud operations like Retrieve and Search where criteria should not be validated
|
2009-01-14 14:04:05 -07:00 |
|
Jason Gerard DeRose
|
79422d0489
|
All unit tests now working (except for doctests and Rob's xmlrpc tests)
|
2009-01-14 13:51:37 -07:00 |
|
Jason Gerard DeRose
|
09e2f5d615
|
New Param: got most of unit tests ported (still have 6 errors); haven't ported doctests yet
|
2009-01-14 13:17:30 -07:00 |
|
Jason Gerard DeRose
|
69acff450c
|
New Param: removed more depreciated 'import ipa_types'
|
2009-01-14 12:00:47 -07:00 |
|
Jason Gerard DeRose
|
2b2e73e7df
|
Removed depreciated code from frontend.py; frontend.py no longer imports ipa_types
|
2009-01-14 11:39:29 -07:00 |
|
Jason Gerard DeRose
|
47e8b1c0b7
|
Removed deprecited ipa_types.py and test_ipa_types.py
|
2009-01-14 11:25:26 -07:00 |
|
Jason Gerard DeRose
|
3e201dfff6
|
New Param: split common Bytes/Str functionality into new Data base class; Str no longer subclasses from Bytes
|
2009-01-14 10:58:05 -07:00 |
|
Jason Gerard DeRose
|
3a6f716aac
|
Updated all references to 'parameter' module to 'parameters'
|
2009-01-14 10:29:18 -07:00 |
|
Jason Gerard DeRose
|
5d1e5a0aa9
|
New Param: renamed parameter.py to parameters.py
|
2009-01-14 10:25:33 -07:00 |
|
Jason Gerard DeRose
|
05514292dc
|
New Param: Flag now fill-in default=False and also forces default to be a bool
|
2009-01-14 09:56:10 -07:00 |
|
Jason Gerard DeRose
|
8cc38e681f
|
New Param: added new Flag param class and its unit test
|
2009-01-13 20:27:19 -07:00 |
|
Jason Gerard DeRose
|
659bb4c142
|
New Param: added Param.clone() method and corresponding unit test
|
2009-01-13 19:49:23 -07:00 |
|
Jason Gerard DeRose
|
a0fb215a2c
|
New Param: updated Str._convert_scalar() so it raises a ConversionError
|
2009-01-13 18:29:45 -07:00 |
|
Jason Gerard DeRose
|
10747103fa
|
New Param: implemented a base Param._convert_scalar() method; added Param.type_error attribute for ConversionError message
|
2009-01-13 02:17:16 -07:00 |
|
Jason Gerard DeRose
|
c2b0d03f82
|
New Param: updated Bytes and Str length rules to use new rule(_, value) calling signature; updated corresponding unit tests
|
2009-01-13 01:07:33 -07:00 |
|
Jason Gerard DeRose
|
33db9fee60
|
New Param: ported create_param() function and unit tests
|
2009-01-13 00:27:06 -07:00 |
|
Jason Gerard DeRose
|
11dce19225
|
New Param: added Param.get_default() method and detailed docstring; added corresponding unit tests
|
2009-01-12 22:48:04 -07:00 |
|
Jason Gerard DeRose
|
5c7c0b35bb
|
New Param: added Param.validate() and Param._validate_scalar() methods; added corresponding unit tests
|
2009-01-12 16:14:46 -07:00 |
|
Jason Gerard DeRose
|
3e9eb0bda0
|
Changed PublicError so str(e) is untranslated (for logging) and added format=None kwarg for generic use
|
2009-01-08 00:07:18 -07:00 |
|
Jason Gerard DeRose
|
166b3ca80c
|
Added unit test for Env.__islocked__(); unit test for Env.__lock__() now also tests with base.lock() function
|
2009-01-06 18:21:46 -07:00 |
|
Jason Gerard DeRose
|
9e430755a5
|
Renamed PublicError.code attribute to PublicError.errno
|
2009-01-06 13:33:22 -07:00 |
|
Jason Gerard DeRose
|
690ad4766d
|
New Param: added Str length rule methods; added corresponding unit tests
|
2009-01-05 02:45:07 -07:00 |
|
Jason Gerard DeRose
|
6d6c0d81dd
|
New Param: decided on calling signature for rules; added unit tests for Bytes._rule_minlength, _rule_maxlength, and _rule_length
|
2009-01-05 02:20:09 -07:00 |
|
Jason Gerard DeRose
|
c121d0064b
|
New Param: Added Param.get_label() method for a way to retrieve translated message at request time
|
2009-01-05 01:20:14 -07:00 |
|
Jason Gerard DeRose
|
026860bd56
|
Renamed ipa_webui/ to ipawebui/ and tests/test_ipa_webui/ to tests/test_ipawebui
|
2009-01-04 19:48:02 -07:00 |
|
Jason Gerard DeRose
|
5c47261df5
|
Renamed all references to 'ipa_webui' to 'ipawebui'
|
2009-01-04 19:45:53 -07:00 |
|
Jason Gerard DeRose
|
7442ad2e27
|
Renamed ipa_server/ to ipaserver/ and tests/test_ipa_server/ to tests/test_ipaserver
|
2009-01-04 18:44:16 -07:00 |
|
Jason Gerard DeRose
|
6fe78a4944
|
Renamed all references to 'ipa_server' to 'ipaserver'
|
2009-01-04 18:39:39 -07:00 |
|
Jason Gerard DeRose
|
2608838ef1
|
Quite a bit of work on new public errors and their unit tests
|
2009-01-04 03:52:08 -07:00 |
|
Jason Gerard DeRose
|
c161784973
|
Added request.ugettext() and request.ungettext() functions; added corresponding unit tests
|
2009-01-04 00:46:21 -07:00 |
|
Jason Gerard DeRose
|
c081ce5460
|
request.create_translation() now sets context.ugettext and context.ungettext
|
2009-01-03 22:03:37 -07:00 |
|
Jason Gerard DeRose
|
bb6e9cfe9f
|
Plugin.call() now uses errors2 version of SubprocessError
|
2009-01-03 18:02:58 -07:00 |
|
Jason Gerard DeRose
|
6b6e6b1cab
|
Ported plugin registration errors into errors2.py; plugable.Registrar now raises new errors2 exceptions
|
2009-01-03 17:27:53 -07:00 |
|
Jason Gerard DeRose
|
d1517b95ca
|
Ported errors.SubprocessError to errors2
|
2009-01-03 15:35:54 -07:00 |
|
Jason Gerard DeRose
|
0d3ddef93b
|
Started fleshing out reoganization of errors in errors.py (with gettext support)
|
2009-01-03 02:35:36 -07:00 |
|
Jason Gerard DeRose
|
b4dc333ee2
|
Removed depreciated code in ipalib.plugable that has been moving into ipalib.base
|
2009-01-02 00:46:45 -07:00 |
|
Jason Gerard DeRose
|
86325bf4eb
|
Copied plugable.NameSpace to base.NameSpace and made many docstring and unit test improvements
|
2008-12-31 02:28:49 -07:00 |
|
Jason Gerard DeRose
|
57dae28d9c
|
Added base.lock() and base.islocked() functions; added corresponding unit tests
|
2008-12-30 21:14:51 -07:00 |
|
Jason Gerard DeRose
|
379c549fc1
|
Env now supports float values
|
2008-12-30 15:02:15 -07:00 |
|
Jason Gerard DeRose
|
bc23957247
|
Added unit test for Env._merge()
|
2008-12-30 14:38:05 -07:00 |
|
Jason Gerard DeRose
|
03c9114958
|
More docstring cleanup in ipalib.config
|
2008-12-30 13:52:36 -07:00 |
|
Jason Gerard DeRose
|
11e165073e
|
Docstring cleanup in the Env bootstraping methods
|
2008-12-30 03:11:45 -07:00 |
|
Jason Gerard DeRose
|
447c88a2bb
|
Started moving some core classes and functions from plugable.py to new base.py module
|
2008-12-30 00:45:48 -07:00 |
|
Jason Gerard DeRose
|
e14fc84dfc
|
Renamed Env._merge_config() to Env._merge_from_file()
|
2008-12-29 21:23:34 -07:00 |
|
Jason Gerard DeRose
|
16526142f3
|
Finished Env class docstring; more organizational cleanup in Env and its unit tests
|
2008-12-23 01:11:03 -07:00 |
|
Jason Gerard DeRose
|
fd43b39145
|
Moved setting of run-time variables from Env.__init__() to Env._bootstrap()
|
2008-12-22 23:09:35 -07:00 |
|
Jason Gerard DeRose
|
01cae56e0a
|
Some more reorganization in Env and added class docstring to Env with lots of examples
|
2008-12-22 21:02:43 -07:00 |
|
Jason Gerard DeRose
|
6b055b435f
|
Cleaned up Env.__setattr__() and Env.__setitem__() a bit updated their unit tests
|
2008-12-22 17:29:11 -07:00 |
|
Jason Gerard DeRose
|
014cca57ad
|
The Env.__setitem__() implied conversion is now case sensitive; Env.__setitem__() now also accepts None as a value
|
2008-12-22 16:16:57 -07:00 |
|
Jason Gerard DeRose
|
c070d390e9
|
Removed Env.__getattr__(); Env no longer accepts callables for values (no more dynamic/lazy values)
|
2008-12-22 15:51:54 -07:00 |
|
Jason Gerard DeRose
|
5b637f6a18
|
Removed depreciated code from config.py; removed corresponding unit tests
|
2008-12-22 15:41:24 -07:00 |
|
Jason Gerard DeRose
|
9d091c98f1
|
Plugin.__init__() now checks that subclass hasn't defined attributes that conflict with the logger methods; added corresponding unit test
|
2008-12-21 19:34:32 -07:00 |
|
Jason Gerard DeRose
|
4390523b7f
|
Improved Plugin.call() method and added its unit test
|
2008-12-21 17:12:00 -07:00 |
|
Jason Gerard DeRose
|
6fdf5d1e7b
|
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
|
2008-12-20 15:00:00 -07:00 |
|
Jason Gerard DeRose
|
9a69adeef0
|
Added request.create_translation() function and corresponding unit tests
|
2008-12-18 16:58:48 -07:00 |
|
Jason Gerard DeRose
|
dc54dee622
|
Started work on per-request gettext setup
|
2008-12-18 14:01:59 -07:00 |
|
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 |
|
Jason Gerard DeRose
|
6e456cc749
|
More CLI cleanup, got all basics working again
|
2008-10-27 23:30:55 -06:00 |
|
Jason Gerard DeRose
|
9b1e3f5946
|
More docstrings, functionality, and unit tests for improved CLI class
|
2008-10-27 19:21:49 -06:00 |
|
Jason Gerard DeRose
|
491e295412
|
Unit test for CLI.boostrap() now checks that -e overrides and values from config files are merged in correctly
|
2008-10-27 16:08:17 -06:00 |
|
Jason Gerard DeRose
|
bb9691099b
|
API.bootstrap() now calls Env._finalize_core(); updated unit tests
|
2008-10-27 15:36:41 -06:00 |
|
Jason Gerard DeRose
|
e6254026fe
|
Implemented basic CLI.bootstrap(); added corresponding unit tests
|
2008-10-27 15:19:49 -06:00 |
|
Jason Gerard DeRose
|
17fd9cc431
|
Started cleanup work on CLI class, added unit tests for CLI.parse_globals()
|
2008-10-27 14:49:34 -06:00 |
|
Jason Gerard DeRose
|
10026284db
|
Started cleanup work on CLI class, added unit tests for CLI.parse_globals()
|
2008-10-27 14:48:02 -06:00 |
|
Jason Gerard DeRose
|
d76202fea3
|
API.env is now an Env instance rather than an Environment instance
|
2008-10-27 01:35:40 -06:00 |
|
Jason Gerard DeRose
|
25a7df9615
|
Env._finalize_core() now also loads config from Env.conf_default
|
2008-10-27 01:09:53 -06:00 |
|
Jason Gerard DeRose
|
28dd8e74bd
|
Env._bootstrap() now also sets Env.conf_default
|
2008-10-27 00:58:25 -06:00 |
|
Jason Gerard DeRose
|
4fe03f5e17
|
Added API.load_plugins() place-holder, which cascades call to API.bootstrap()
|
2008-10-26 23:53:44 -06:00 |
|
Jason Gerard DeRose
|
6b8abb0d78
|
Implemented placeholder API.bootstrap() method; added API __doing(), __do_if_not_done(), isdone() methods borrowed from Env; API.finalize() now cascades call to API.bootstrap()
|
2008-10-26 23:28:06 -06:00 |
|
Jason Gerard DeRose
|
759734864e
|
Finished Env._finalize() and corresponding unit tests
|
2008-10-24 20:21:27 -06:00 |
|
Jason Gerard DeRose
|
ac4efac394
|
Finished Env._finalize_core() and corresponding unit tests
|
2008-10-24 20:02:14 -06:00 |
|
Jason Gerard DeRose
|
8ca44bcbfa
|
Added tests.util.TempHome class for created a tempdir and setting os.environ['HOME'] to it; updated various unit tests for Env so they are run using a tempdir for home
|
2008-10-24 16:02:26 -06:00 |
|
Jason Gerard DeRose
|
2a41db33c6
|
Env._bootstrap() now raises StandardError if called more than once
|
2008-10-24 15:35:58 -06:00 |
|
Jason Gerard DeRose
|
f80beb948b
|
Added ipalib/constants.py; added Env._load_config() method along with comprehensive unit tests for same
|
2008-10-24 15:07:07 -06:00 |
|
Jason Gerard DeRose
|
2ec0312eb6
|
Finished doodle with stricter version of Environment
|
2008-10-24 01:51:36 -06:00 |
|
Jason Gerard DeRose
|
59a2cffff4
|
IPAError now more appropriately subclasses from StandardError instead of Exception
|
2008-10-23 21:21:51 -06:00 |
|
Jason Gerard DeRose
|
bb978e591b
|
Fixed bug in DefaultFrom where impleied keys were using entire func_code.co_varnames instead of an approprate slice
|
2008-10-20 16:45:32 -06:00 |
|
Martin Nagy
|
18e74643a6
|
Add comments in config.py and fix Environment.get()
|
2008-10-20 19:54:30 +02:00 |
|
Jason Gerard DeRose
|
8322138f38
|
Added new Param.flags attribute (set with flags=foo kwarg)
|
2008-10-17 19:34:26 -06:00 |
|
Jason Gerard DeRose
|
1be301821e
|
Fixed unit test for CrudBacked.retrieve()
|
2008-10-17 16:47:09 -06:00 |
|
Martin Nagy
|
3a80297b04
|
Reworking Environment, moved it to config.py
|
2008-10-17 23:11:51 +02:00 |
|
Martin Nagy
|
ff88652a40
|
Convert string values to boolean when generating environment
|
2008-10-14 21:22:44 +02:00 |
|
Jason Gerard DeRose
|
446037fd60
|
Added Object.get_dn() method; added corresponding unit tests
|
2008-10-13 23:26:24 -06:00 |
|
Jason Gerard DeRose
|
8674086b85
|
Param now takes cli_name kwarg that sets Param.cli_name attribute
|
2008-10-13 17:24:23 -06:00 |
|
Jason Gerard DeRose
|
225e2b0c93
|
Added CrudBackend abstract class defining generic CRUD API
|
2008-10-13 09:50:29 -06:00 |
|
Jason Gerard DeRose
|
87390665f6
|
crud.Add.get_args() and get_options() now yield static values in takes_args, takes_options after the automagic ones
|
2008-10-09 11:33:35 -06:00 |
|
Jason Gerard DeRose
|
887016e69d
|
Base Command.execute() method now raises NotImplementedError; updated unit tests
|
2008-10-08 18:18:13 -06:00 |
|
Jason Gerard DeRose
|
bc9edbfdf6
|
Changed sub-package docstrings in tests/ to make consintent with other packages
|
2008-10-08 01:30:52 -06:00 |
|
Jason Gerard DeRose
|
b246dbabcf
|
PEP 257: cleaned up docstrings in test_ipa_types.py
|
2008-10-08 01:24:39 -06:00 |
|
Jason Gerard DeRose
|
048678fc77
|
Fixed two PEP 257 violations I missed in test_plugable.py
|
2008-10-08 01:00:44 -06:00 |
|
Jason Gerard DeRose
|
ad2cd6560b
|
PEP 257: cleaned up docstrings in test_frontend.py
|
2008-10-08 00:58:53 -06:00 |
|
Jason Gerard DeRose
|
33648655fe
|
PEP 257: cleaned up docstrings in test_errors.py
|
2008-10-08 00:41:08 -06:00 |
|
Jason Gerard DeRose
|
7599beb693
|
Restructured test_crud.py around new CrudChecker base class
|
2008-10-08 00:17:32 -06:00 |
|
Jason Gerard DeRose
|
f5ea3b1bb9
|
Made docstrings in test_crud.py contistent with rest
|
2008-10-07 23:36:58 -06:00 |
|
Jason Gerard DeRose
|
0d2b5a8892
|
PEP 257: cleaned up docstrings in test_config.py
|
2008-10-07 23:31:40 -06:00 |
|
Jason Gerard DeRose
|
9bff91fc08
|
PEP 257: cleaned up docstrings in test_cli.py
|
2008-10-07 23:29:42 -06:00 |
|
Jason Gerard DeRose
|
97634e18c7
|
PEP 257: cleaned up docstrings in test_plugable.py
|
2008-10-07 23:20:00 -06:00 |
|
Jason Gerard DeRose
|
deb8e3dfc8
|
Renamed tests/tstutil.py to tests/util.py
|
2008-10-07 22:30:53 -06:00 |
|
Jason Gerard DeRose
|
3fdabc604e
|
-m
|
2008-10-07 22:20:00 -06:00 |
|
Jason Gerard DeRose
|
f6ac2df6bd
|
Moved tstutil.py into base of tests so it can be used by all test subpackages more easily
|
2008-10-07 21:59:47 -06:00 |
|
Jason Gerard DeRose
|
a1e504d442
|
Moved ipa_server/tests/ to tests/test_ipa_server/
|
2008-10-07 21:33:48 -06:00 |
|
Jason Gerard DeRose
|
af56c71d50
|
Cleaned up package and module level docstrings for everything in tests/
|
2008-10-07 21:25:23 -06:00 |
|
Jason Gerard DeRose
|
151b8ba38a
|
Moved ipa_webui/tests/ to tests/test_ipa_webui/
|
2008-10-07 21:06:01 -06:00 |
|
Jason Gerard DeRose
|
7721443a62
|
Moved ipalib/tests/ into tests/test_ipalib/
|
2008-10-07 20:41:15 -06:00 |
|
Jason Gerard DeRose
|
2617f89b6a
|
Added top-level tests/ package that will contain all unit tests
|
2008-10-07 20:36:44 -06:00 |
|