def METHOD_NAME(self, mock_current_app, mock_requests):
    # ret_val = json.dumps({"access_token": "access"})
    the_response = Response()
    the_response._content = b'{"access_token": "access"}'
    mock_requests.post = Mock(return_value=the_response)
    mock_current_app.config.get = Mock(return_value="Test")
    result = ultradns.get_ultradns_token()
    self.assertTrue(len(result) > 0)