summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 671d4053..3613dfeb 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -245,7 +245,7 @@ class CLI(object):
"""
self.__doing('run')
self.finalize()
- if self.api.env.mode == 'unit-test':
+ if self.api.env.mode == 'unit_test':
return
if len(self.cmd_argv) < 1:
self.print_commands()