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
|
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
|
7e21ea5ad8
|
Fixed Warning messages about log dir in unit test
|
2008-12-08 16:56:24 -07: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
|
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
|
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
|
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 |
|
Martin Nagy
|
3a80297b04
|
Reworking Environment, moved it to config.py
|
2008-10-17 23:11:51 +02: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
|
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
|
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
|
af56c71d50
|
Cleaned up package and module level docstrings for everything in tests/
|
2008-10-07 21:25:23 -06:00 |
|
Jason Gerard DeRose
|
7721443a62
|
Moved ipalib/tests/ into tests/test_ipalib/
|
2008-10-07 20:41:15 -06:00 |
|