'Validate that an SSL login creates an eamap user and
redirects them to the signup page.'

@skip_unless_lms
def test_ssl_login_with_signup_lms(self):

    with self._create_ssl_request('/') as request:
        response = external_auth_views.ssl_login(request)
    self.assertIn('<form    role="form"    id="register-form"    method="post"', response.content)
    try:
        ExternalAuthMap.objects.get(external_id=self.USER_EMAIL)
    except ExternalAuthMap.DoesNotExist as ex:
        self.fail('User    did    not    get    properly    added    to    external    auth    map,    exception    was    {0}'.format(str(ex)))
    with self.assertRaises(User.DoesNotExist):
        User.objects.get(email=self.USER_EMAIL)
