示例#1
0
文件: test_module.py 项目: Gu1/pyrax
 def test_make_agent_name(self):
     test_agent = "TEST"
     ret = pyrax._make_agent_name(test_agent)
     self.assert_(ret.endswith(test_agent))
     self.assert_(ret.startswith(pyrax.USER_AGENT))
示例#2
0
 def test_make_agent_name(self):
     test_agent = "TEST"
     ret = pyrax._make_agent_name(test_agent)
     self.assert_(ret.endswith(test_agent))
     self.assert_(ret.startswith(pyrax.USER_AGENT))