'Tests getting a single attribute from elb.connection.'

def test_get_lb_attribute(self):

    (mock_response, elb, _) = self._setup_mock()
    tests = [('crossZoneLoadBalancing', True, ATTRIBUTE_GET_TRUE_CZL_RESPONSE), ('crossZoneLoadBalancing', False, ATTRIBUTE_GET_FALSE_CZL_RESPONSE)]
    for (attr, value, response) in tests:
        mock_response.read.return_value = response
        status = elb.get_lb_attribute('test_elb', attr)
        self.assertEqual(status, value)
