tests: Fix CAS version parsing
As CAS version format changed to custom one, we need to parse it in non-default way. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -55,8 +55,7 @@ class InitConfig:
|
||||
@classmethod
|
||||
def create_default_init_config(cls):
|
||||
cas_version = casadm_parser.get_casadm_version()
|
||||
fs_utils.write_file(opencas_conf_path,
|
||||
f"version={'.'.join(str(x) for x in cas_version.release[0:3])}")
|
||||
fs_utils.write_file(opencas_conf_path, f"version={cas_version.base}")
|
||||
|
||||
|
||||
class CacheConfigLine:
|
||||
|
Reference in New Issue
Block a user