'Ensure SSL is enforced by default.'

def test_enforce_ssl(self):

    v = RequestValidator()
    e = BaseEndpoint(v)
    c = Client(u'foo')
    (u, h, b) = c.sign(u'http://example.com')
    r = e._create_request(u, u'GET', b, h)
    self.assertRaises(errors.InsecureTransportError, e._check_transport_security, r)
