Skip to content
Snippets Groups Projects
Commit efd27fdc authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Fixed broken unit test.

Unit test for mentat.script.fetcher was broken on machines, where mentat is not installed and /etc/metat/core directory does not exist. (Redmine issue: #1017)
parent 66561822
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,11 @@ class DemoFetcherScript(FetcherScript):
# Override default configurations.
#
default_debug = True,
default_config_dir = '/etc/mentat/core'
default_config_dir = os.path.abspath(
os.path.join(
os.path.dirname(os.path.realpath(__file__)), '../../../conf/core'
)
)
)
def get_default_command(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment