Example #1
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))
Example #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))