'Verify that _authenticate_external() raises exception if N/A.'

def test_no_external_auth(self):

    external_method = token.controllers.ExternalAuthenticationMethod()
    request = webob.Request.blank('/')
    self.assertRaises(token.controllers.ExternalAuthNotApplicable, external_method.authenticate, request, auth={})
