Remove tests unused variable

This commit is contained in:
Valentin Samir 2016-07-20 18:41:52 +02:00
parent 66b9daff68
commit 004e76f29e

View File

@ -1193,7 +1193,7 @@ class ValidateServiceTestCase(TestCase, XmlContent):
def test_validate_service_renew(self): def test_validate_service_renew(self):
"""test with a valid (ticket, service) asking for auth renewal""" """test with a valid (ticket, service) asking for auth renewal"""
# case 1 client is renewing and service ask for renew # 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) self.assertEqual(response.status_code, 302)
ticket_value = response['Location'].split('ticket=')[-1] ticket_value = response['Location'].split('ticket=')[-1]
# get a bare client # get a bare client