1#!/usr/bin/env python3 -u
2
3r"""
4 Define methods to import platform specific files.
5"""
6
7import sys
8from robot.libraries.BuiltIn import BuiltIn
9import imp
10import string
11import importlib
12
13
14def get_service_restart_policy_services(module_name):
15    r"""
16    Gets the service list that gives in the respective platform specific file.
17    """
18    m = importlib.import_module(module_name)
19    service_restart_policy_services = dict.copy(m.SERVICES)
20
21    return service_restart_policy_services
22