Exemple #1
0
 def testBadAuthenticate(self):
     api = Api(BLOG, USER, 'badpassword')
     try:
         api.auth_check()
         assert False  # should never get here
     except TumblrAuthError, e:
         pass
Exemple #2
0
 def testBadAuthenticate(self):
     api = Api(BLOG, USER, 'badpassword' )
     try:
         api.auth_check()
         assert False # should never get here    
     except TumblrAuthError,  e:
         pass
Exemple #3
0
 def testAuthenticate(self):
     api = Api(BLOG, USER, PASSWORD )
     api.auth_check()
Exemple #4
0
 def testAuthenticate(self):
     api = Api(BLOG, USER, PASSWORD)
     api.auth_check()