diff options
Diffstat (limited to 'src/onaptests/utils')
-rw-r--r-- | src/onaptests/utils/resources.py (renamed from src/onaptests/utils/simulators.py) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/onaptests/utils/simulators.py b/src/onaptests/utils/resources.py index 08acdbd..46c6c6e 100644 --- a/src/onaptests/utils/simulators.py +++ b/src/onaptests/utils/resources.py @@ -1,5 +1,13 @@ """Standard functions for the simulator wrapper.""" +import os from importlib.resources import path +import onaptests + + +def get_resource_location(relative_path: str): + return os.path.join(os.path.dirname(os.path.realpath(onaptests.__file__)), + relative_path) + def get_local_dir(): """Get the default path for helm charts. |