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