Skip to content

Commit

Permalink
Address PR remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
victorusu committed Oct 23, 2023
1 parent 889ca3c commit 207384d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions hpctestlib/system/fs/mnt_opts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 207384d

Please sign in to comment.