aboutsummaryrefslogtreecommitdiffstats
path: root/functest/cli/commands/cli_testcase.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-11-23 08:55:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-23 08:55:04 +0000
commit71ba783c1279370af035ff7cac2de7522e95de78 (patch)
treee5d60fb97657c9204d7f749d059f26530d9594cb /functest/cli/commands/cli_testcase.py
parent01a5192428eb99afcb94047e6faa54e1d57114d1 (diff)
parentd4996440fa16297aee7a925e6357a9cfd42d24f8 (diff)
Merge "Remove prepare_env"
Diffstat (limited to 'functest/cli/commands/cli_testcase.py')
-rw-r--r--functest/cli/commands/cli_testcase.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/functest/cli/commands/cli_testcase.py b/functest/cli/commands/cli_testcase.py
index 65dd9ab75..ee7afa5a8 100644
--- a/functest/cli/commands/cli_testcase.py
+++ b/functest/cli/commands/cli_testcase.py
@@ -9,7 +9,6 @@
""" global variables """
-import os
import pkg_resources
import click
@@ -50,9 +49,6 @@ class Testcase(object):
if testname == 'vacation':
vacation.main()
- elif not os.path.isfile(CONST.__getattribute__('env_active')):
- click.echo("Functest environment is not ready. "
- "Run first 'functest env prepare'")
else:
tests = testname.split(",")
for test in tests: