def interactive_login(args): token = interactive_get_token(args) store_token(token, args) log.info('login successful')
def interactive_login(): token = interactive_get_token() store_token(token) log.info('login successful')
def login(self, username, password): fake_args = FakeArgs(username, password) token = self.get_token(fake_args) store_token(token, fake_args)
def interactive_login(args): token = interactive_get_token(args) store_token(token, args) log.info("login successful")
def login(self, username, password): token = self.get_token(username, password) fake_args = FakeArgs(username, password) store_token(token, fake_args)