def test_list_protocols(self):
        protocols = self.driver.list_protocols()
        self.assertEqual(4, len(protocols))
        expected = ['tcp', 'udp', 'http', 'https']
        diff = set(expected) - set(protocols)
        self.assertEqual(0, len(diff))
dataset/ETHPy150Open apache/libcloud/libcloud/test/loadbalancer/test_slb.py/SLBDriverTestCases.test_list_protocols/original