示例#1
0
文件: actor.py 项目: LoganTK/pulsar
 def test_get_proxy(self):
     self.assertRaises(ValueError, pulsar.get_proxy, 'shcbjsbcjcdcd')
     self.assertEqual(pulsar.get_proxy('shcbjsbcjcdcd', safe=True), None)
示例#2
0
 def test_get_proxy(self):
     self.assertRaises(ValueError, pulsar.get_proxy, 'shcbjsbcjcdcd')
     self.assertEqual(pulsar.get_proxy('shcbjsbcjcdcd', safe=True), None)