

def test_list_protocols(self):
    protocols = self.driver.list_protocols()
    self.assertEqual(len(protocols), 6)
    self.assertTrue(('tcp' in protocols))
    self.assertTrue(('http' in protocols))

dataset/ETHPy150Open apache/libcloud/libcloud/test/loadbalancer/test_softlayer.py SoftlayerLBTests.test_list_protocols/original