def METHOD_NAME(self):
    session = self.client.session
    auth = self.server.auth()
    session[auth._token_key] = 'token'
    session[auth._state_key] = 'state'
    session[auth._user_key] = 'user'
    session.save()
    url = reverse('ci:gitlab:sign_out', args=[self.server.name])
    response = self.client.get(url)
    self.assertEqual(response.status_code, 302) # redirect
    # make sure the session variables are gone
    self.assertNotIn(auth._token_key, self.client.session)
    self.assertNotIn(auth._state_key, self.client.session)
    self.assertNotIn(auth._user_key, self.client.session)
    data = {'source_url': reverse('ci:main')}
    response = self.client.get(url, data)
    self.assertEqual(response.status_code, 302) # redirect