X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Futils%2Fconstants.py;h=d8a1d54d1fb4dab7d4253b630012b7eae841ff6f;hb=d589e4e5345ed82c68d9a011ac89f8cdbefe2ca3;hp=c19e0fc524b23228a72db1b0b8e2ccf3b84ca954;hpb=fd16007ccfb7052c3cbab82e6184be277320b83a;p=functest.git diff --git a/functest/utils/constants.py b/functest/utils/constants.py index c19e0fc52..d8a1d54d1 100644 --- a/functest/utils/constants.py +++ b/functest/utils/constants.py @@ -2,6 +2,7 @@ # pylint: disable=missing-docstring +import pkg_resources import six from functest.utils import config @@ -10,6 +11,9 @@ from functest.utils import env class Constants(object): # pylint: disable=too-few-public-methods + CONFIG_FUNCTEST_YAML = pkg_resources.resource_filename( + 'functest', 'ci/config_functest.yaml') + def __init__(self): for attr_n, attr_v in six.iteritems(config.CONF.__dict__): setattr(self, attr_n, attr_v)