From afdc72103847fc27efd00f8cc97a7320909ff6a0 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Mon, 29 Sep 2008 17:41:30 +0200 Subject: Add support for environment variables, change tests accordingly --- ipalib/tests/test_crud.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ipalib/tests/test_crud.py') diff --git a/ipalib/tests/test_crud.py b/ipalib/tests/test_crud.py index 8b1e8a86..e95fe509 100644 --- a/ipalib/tests/test_crud.py +++ b/ipalib/tests/test_crud.py @@ -22,10 +22,11 @@ Unit tests for `ipalib.crud` module. """ from tstutil import read_only, raises, ClassChecker -from ipalib import crud, frontend, plugable +from ipalib import crud, frontend, plugable, config def get_api(): api = plugable.API( + config.default_environment(), frontend.Object, frontend.Method, frontend.Property, -- cgit