blob: 512b8ea4f14705c5665dd972ff10e25ceacb423c [file] [log] [blame]
#!/usr/bin/env python3 -u
r"""
Define methods to import platform specific files.
"""
import imp
import importlib
import string
import sys
from robot.libraries.BuiltIn import BuiltIn
def get_service_restart_policy_services(module_name):
r"""
Gets the service list that gives in the respective platform specific file.
"""
m = importlib.import_module(module_name)
service_restart_policy_services = dict.copy(m.SERVICES)
return service_restart_policy_services