From 55075a06c883ad60a369b755e4735660c7edb253 Mon Sep 17 00:00:00 2001 From: Samuel Moors Date: Tue, 26 Nov 2024 23:08:13 +0100 Subject: [PATCH] add docstrings --- eessi/testsuite/eessi_staging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eessi/testsuite/eessi_staging.py b/eessi/testsuite/eessi_staging.py index 8e05b892..9d2bcf9a 100644 --- a/eessi/testsuite/eessi_staging.py +++ b/eessi/testsuite/eessi_staging.py @@ -16,10 +16,12 @@ class EESSI_Staging(rfm.RunOnlyRegressionTest): @run_after('init') def remove_modules(self): + "Remove any modules that have been set on the cmd line: they are not needed for staging" self.modules = [] @sanity_function def check_stagedir(self): + "Check that all input files have been correctly copied to the stagedir" ignore = {'rfm_job.sh', 'rfm_job.out', 'rfm_job.err'} sourcepath = Path(self.sourcesdir) sourcefiles = {x.relative_to(sourcepath).as_posix() for x in sourcepath.rglob('*')}