summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ipalib/test_cli.py')
-rw-r--r--tests/test_ipalib/test_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ipalib/test_cli.py b/tests/test_ipalib/test_cli.py
index c4740875b..7b3239d7c 100644
--- a/tests/test_ipalib/test_cli.py
+++ b/tests/test_ipalib/test_cli.py
@@ -110,7 +110,7 @@ class test_CLI(ClassChecker):
frontend.Application,
backend.Backend,
)
- api.env.mode = 'unit-test'
+ api.env.mode = 'unit_test'
api.env.in_tree = True
o = self.cls(api, argv)
assert o.api is api