From c8a22f6c92376004880d6b6ab429903e5098e667 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 20 Jul 2016 18:30:36 +0200 Subject: [PATCH] Remove tests unused variable --- cas_server/tests/test_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas_server/tests/test_view.py b/cas_server/tests/test_view.py index bfa4c32..2969801 100644 --- a/cas_server/tests/test_view.py +++ b/cas_server/tests/test_view.py @@ -993,7 +993,7 @@ class ValidateTestCase(TestCase): def test_validate_service_renew(self): """test with a valid (ticket, service) asking for auth renewal""" # case 1 client is renewing and service ask for renew - (client1, response) = get_auth_client(renew="True", service=self.service) + response = get_auth_client(renew="True", service=self.service)[1] self.assertEqual(response.status_code, 302) ticket_value = response['Location'].split('ticket=')[-1] # get a bare client