aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/utils/simulators.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/utils/simulators.py')
-rw-r--r--src/onaptests/utils/simulators.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/onaptests/utils/simulators.py b/src/onaptests/utils/simulators.py
new file mode 100644
index 0000000..08acdbd
--- /dev/null
+++ b/src/onaptests/utils/simulators.py
@@ -0,0 +1,13 @@
+"""Standard functions for the simulator wrapper."""
+from importlib.resources import path
+
+def get_local_dir():
+ """Get the default path for helm charts.
+
+ Returns:
+ chart_directory (Path):
+ local helm chart folder relative to the package.
+ """
+ with path('onaptests', 'templates') as templates:
+ chart_directory = templates / 'helm_charts'
+ return chart_directory