def test_get_value3(self): client = ApolloClient() client.init_with_conf() name = client.get_value(namespace='mongodb1.yaml', key="name2", default_val="默认值+") print name
def test_get_value0(self): client = ApolloClient() client.init_with_conf() path = client.get_value(namespace="redis.json", key='path') print path self.assertEquals(path, "/usr/alphatest")
def test_get_value1(self): client = ApolloClient() client.init_with_conf() name = client.get_value(namespace='mongodb.yaml', key="name") print name
def test_get_value(self): client = ApolloClient() client.init_with_conf() timeout = client.get_value(key='timeout') self.assertEquals(timeout, 85)