From 149429f3057e3ae934e660e3276c9e8d3c935d17 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Thu, 2 Oct 2008 20:24:05 +0200 Subject: Environment is now subclassed from object, rather then dict. Added tests for Environment and config.py --- ipalib/tests/test_crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/tests/test_crud.py') diff --git a/ipalib/tests/test_crud.py b/ipalib/tests/test_crud.py index df85253b..9355f237 100644 --- a/ipalib/tests/test_crud.py +++ b/ipalib/tests/test_crud.py @@ -26,11 +26,11 @@ from ipalib import crud, frontend, plugable, config def get_api(): api = plugable.API( - config.default_environment(), frontend.Object, frontend.Method, frontend.Property, ) + api.env.update(config.generate_env()) class user(frontend.Object): takes_params = ( 'givenname', -- cgit