aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/constants.py
blob: 2e8eb3f44c07616888ecaef9a005667f1a26353d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import config
import env


class Constants(object):
    def __init__(self):
        for attr_n, attr_v in config.CONF.__dict__.iteritems():
            self.__setattr__(attr_n, attr_v)
        for env_n, env_v in env.ENV.__dict__.iteritems():
            self.__setattr__(env_n, env_v)


CONST = Constants()

if __name__ == '__main__':
    print CONST.__dict__
    print CONST.NODE_NAME
    print CONST.vIMS_clearwater_blueprint_url
    print CONST.vIMS_clearwater_blueprint_file_name
    print CONST.vIMS_clearwater_blueprint_name