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