示例#1
0
文件: hello.py 项目: avian2/vesna-omf
import logging
from vesna.omf import ALH

logging.basicConfig(level=logging.INFO)
coor = ALH()
print coor.get("hello")
示例#2
0
	def test_post_request(self):
		alh = ALH(cluster_uid='test', socket_path=self.socket_path)
		r = alh.post('hello', '1')

		self.assertEqual(r, 'post')