Skip to content

Commit

Permalink
add docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moors committed Nov 26, 2024
1 parent 8b8911d commit 55075a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eessi/testsuite/eessi_staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('*')}
Expand Down

0 comments on commit 55075a0

Please sign in to comment.