'The main test here is that the plugin finishes'

def test_redirect_loop_in_login(self):

    self._scan(self._run_config['target'], self._run_config['plugins'])
    all_paths = set()
    for request in httpretty.latest_requests:
        all_paths.add(request.path)
    self.assertIn('/confirm/?token=123', all_paths)
    self.assertIn('/confirm/?token=abc', all_paths)
    self.assertIn('/auth/login_form.py', all_paths)
