projects
/
hermes
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a950cc
)
fixed test to reflect correct block_for_auth API
author
Fredrik Wendt
<fredrik@wendt.se>
Tue, 8 Jun 2010 20:58:29 +0000
(21:58 +0100)
committer
Fredrik Wendt
<fredrik@wendt.se>
Tue, 8 Jun 2010 20:58:29 +0000
(21:58 +0100)
package/test/integration/test_linkedinapi.py
patch
|
blob
|
history
diff --git
a/package/test/integration/test_linkedinapi.py
b/package/test/integration/test_linkedinapi.py
index
d2d7887
..
0547300
100644
(file)
--- 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