aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/utils/simulators.py
blob: 08acdbdeaec9da3d9e61f74dd3ef2c4535e21583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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