update test to use new env variable

This commit is contained in:
Steve Noyes 2015-08-19 11:51:04 -04:00
parent 5da9c0c2e6
commit 3513d2a805
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ import testtools
import kollacli.utils as utils
TEST_SUFFIX = 'test/'
ENV_ETC = 'KOLLA_CLIENT_ETC'
ENV_ETC = 'KOLLA_CLI_ETC'
VENV_PY_PATH = '.venv/bin/python'
KOLLA_CMD = 'kollacli'
KOLLA_SHELL_DIR = 'kollacli'
@ -46,8 +46,8 @@ class KollaCliTest(testtools.TestCase):
# switch to test path
self._setup_env_var()
etc_path = os.getenv('KOLLA_CLIENT_ETC')
self.log.debug('$KOLLA_CLIENT_ETC for tests: %s' % etc_path)
etc_path = os.getenv(ENV_ETC)
self.log.debug('%s for tests: %s' % (ENV_ETC, etc_path))
self._set_cmd_prefix()