From cdef0f1951596d03d978780a3ce16ac09f1dfed7 Mon Sep 17 00:00:00 2001 From: Fredrik Wendt Date: Tue, 8 Jun 2010 21:58:29 +0100 Subject: [PATCH] fixed test to reflect correct block_for_auth API --- package/test/integration/test_linkedinapi.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/test/integration/test_linkedinapi.py b/package/test/integration/test_linkedinapi.py index d2d7887..0547300 100644 --- a/package/test/integration/test_linkedinapi.py +++ b/package/test/integration/test_linkedinapi.py @@ -55,7 +55,7 @@ class IntegrationTestLinkedInApi(unittest.TestCase): assert self.need_auth_called assert self.block_for_auth_called - assert "linkedin.com" in self.block_for_auth_url + assert self.block_for_auth_show_input_field assert authenticate_threw_exception @@ -63,9 +63,9 @@ class IntegrationTestLinkedInApi(unittest.TestCase): self.need_auth_called = True - def _block_for_auth(self, url): + def _block_for_auth(self, show_input_field): self.block_for_auth_called = True - self.block_for_auth_url = url + self.block_for_auth_show_input_field = show_input_field return self.verifier -- 1.7.9.5