Commit 558111fe authored by Mouadh Kaabachi's avatar Mouadh Kaabachi Committed by GitHub

Update config_file_parser.py

parent fd8f5525
......@@ -199,13 +199,8 @@ class ConfigParser:
:param file_name: config file name (DEFAULT = cubes-config.xml)
"""
if cube_path is None:
# for later tests with config file
from tests.test_xmla_notox import RUNNING_TOX
if RUNNING_TOX:
home_directory = os.environ.get('HOME_DIR')
else:
from os.path import expanduser
home_directory = expanduser("~")
from os.path import expanduser
home_directory = expanduser("~")
self.cube_path = os.path.join(home_directory, 'olapy-data', 'cubes')
else:
self.cube_path = cube_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment