summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-302-25/+7
| | | | 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
* API.bootstrap() now calls Env._finalize_core(); updated unit testsJason Gerard DeRose2008-10-272-2/+14
|
* Implemented basic CLI.bootstrap(); added corresponding unit testsJason Gerard DeRose2008-10-271-6/+20
|
* Started cleanup work on CLI class, added unit tests for CLI.parse_globals()Jason Gerard DeRose2008-10-271-0/+5
|
* Started cleanup work on CLI class, added unit tests for CLI.parse_globals()Jason Gerard DeRose2008-10-271-52/+53
|
* API.env is now an Env instance rather than an Environment instanceJason Gerard DeRose2008-10-272-5/+7
|
* Env._finalize_core() now also loads config from Env.conf_defaultJason Gerard DeRose2008-10-271-0/+10
|
* Env._bootstrap() now also sets Env.conf_defaultJason Gerard DeRose2008-10-271-0/+7
|
* Added API.load_plugins() place-holder, which cascades call to API.bootstrap()Jason Gerard DeRose2008-10-261-0/+13
|
* Implemented placeholder API.bootstrap() method; added API __doing(), ↵Jason Gerard DeRose2008-10-261-82/+105
| | | | __do_if_not_done(), isdone() methods borrowed from Env; API.finalize() now cascades call to API.bootstrap()
* Finished Env._finalize() and corresponding unit testsJason Gerard DeRose2008-10-241-2/+21
|
* Finished Env._finalize_core() and corresponding unit testsJason Gerard DeRose2008-10-241-10/+114
|
* Added tests.util.TempHome class for created a tempdir and setting ↵Jason Gerard DeRose2008-10-241-12/+20
| | | | os.environ['HOME'] to it; updated various unit tests for Env so they are run using a tempdir for home
* Env._bootstrap() now raises StandardError if called more than onceJason Gerard DeRose2008-10-241-0/+2
|
* Added ipalib/constants.py; added Env._load_config() method along with ↵Jason Gerard DeRose2008-10-241-3/+182
| | | | comprehensive unit tests for same
* Finished doodle with stricter version of EnvironmentJason Gerard DeRose2008-10-241-2/+120
|
* IPAError now more appropriately subclasses from StandardError instead of ↵Jason Gerard DeRose2008-10-231-1/+1
| | | | Exception
* Fixed bug in DefaultFrom where impleied keys were using entire ↵Jason Gerard DeRose2008-10-201-0/+10
| | | | func_code.co_varnames instead of an approprate slice
* Add comments in config.py and fix Environment.get()Martin Nagy2008-10-201-0/+5
|
* Added new Param.flags attribute (set with flags=foo kwarg)Jason Gerard DeRose2008-10-171-0/+3
|
* Fixed unit test for CrudBacked.retrieve()Jason Gerard DeRose2008-10-171-1/+1
|
* Reworking Environment, moved it to config.pyMartin Nagy2008-10-174-94/+97
|
* Convert string values to boolean when generating environmentMartin Nagy2008-10-141-0/+3
|
* Added Object.get_dn() method; added corresponding unit testsJason Gerard DeRose2008-10-131-0/+14
|
* Param now takes cli_name kwarg that sets Param.cli_name attributeJason Gerard DeRose2008-10-131-0/+2
|
* Added CrudBackend abstract class defining generic CRUD APIJason Gerard DeRose2008-10-131-0/+51
|
* crud.Add.get_args() and get_options() now yield static values in takes_args, ↵Jason Gerard DeRose2008-10-091-2/+11
| | | | takes_options after the automagic ones
* Base Command.execute() method now raises NotImplementedError; updated unit testsJason Gerard DeRose2008-10-081-0/+3
|
* Changed sub-package docstrings in tests/ to make consintent with other packagesJason Gerard DeRose2008-10-081-1/+1
|