Add cache config and fix for cas modules names

This commit is contained in:
Katarzyna Lapinska
2019-10-31 12:13:40 +01:00
parent 04c346f062
commit 63937439b4
5 changed files with 32 additions and 6 deletions

View File

@@ -183,6 +183,8 @@ def base_prepare(item):
elif not installer.check_if_installed():
installer.install_opencas()
TestRun.plugins['opencas']['already_updated'] = True
from api.cas import init_config
init_config.create_default_init_config()
TestRun.LOGGER.add_build_info(f'Commit hash:')
TestRun.LOGGER.add_build_info(f"{git.get_current_commit_hash()}")
TestRun.LOGGER.add_build_info(f'Commit message:')