Remove tests unused variable
This commit is contained in:
parent
25f305b538
commit
c8a22f6c92
@ -993,7 +993,7 @@ class ValidateTestCase(TestCase):
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user