From 39f5460d41d072aae232eb0b8f8981ca5b0891c1 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Tue, 7 Jul 2020 13:37:50 +0200 Subject: [PATCH] Expand documentation of @require_deps decorator --- reframe/core/decorators.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reframe/core/decorators.py b/reframe/core/decorators.py index b44a7bd56f..e8ad0e1096 100644 --- a/reframe/core/decorators.py +++ b/reframe/core/decorators.py @@ -227,9 +227,13 @@ def require_deps(func): The converted arguments are essentially functions accepting a single argument, which is the target test's programming environment. + Additionally, this decorator will attach the function to run *after* the + test's setup phase, but *before* any other "post_setup" pipeline hook. + This decorator is also directly available under the :mod:`reframe` module. .. versionadded:: 2.21 + ''' tests = inspect.getfullargspec(func).args[1:] func._rfm_resolve_deps = True