From 207384d3b004886f52816daf50b1025945378895 Mon Sep 17 00:00:00 2001 From: Victor Holanda Date: Mon, 23 Oct 2023 20:22:39 +0200 Subject: [PATCH] Address PR remarks --- hpctestlib/system/fs/mnt_opts.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hpctestlib/system/fs/mnt_opts.py b/hpctestlib/system/fs/mnt_opts.py index 5343d382c1..53a3782166 100644 --- a/hpctestlib/system/fs/mnt_opts.py +++ b/hpctestlib/system/fs/mnt_opts.py @@ -25,9 +25,7 @@ class filesystem_options_check(rfm.RunOnlyRegressionTest): #: :type: `Dict[str, str]`. The key should be the file system type. #: and the value should be a string with mount options. #: E.g., {'xfs: 'nosuid,logbsize=32k'} - #: :default: ``{}`` - fs_ref_opts = variable(typ.Dict, value={}, loggable=True) - fs_ref_opts = required + fs_ref_opts = variable(typ.Dict, loggable=True) #: Fail if the test finds a filesystem type that is not in the #: reference dictionary @@ -70,7 +68,7 @@ def explode_opts_str(self, opts_str): keystr = opt_parts[0] valstr = opt_parts[1] if len(opt_parts) > 1 else '' result[keystr] = valstr - + return result @sanity_function