





import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info


def 					__SCREAMING_SNAKE_CASE  (							__lowercase:		Tuple):



  '''simple docstring'''






  class   __snake_case				:






      '''simple docstring'''





      def __init__(   self						:		int			,						snake_case						:		str							):

        """simple docstring"""





        assert isinstance(snake_case			,						(bytes, str)							)
        __lowerCAmelCase			=				content





      def 	A		(   self						:		str							):

        """simple docstring"""





        return json.loads(self.content							)

  def mock_response(*__lowercase:		List[Any]     ,							**__lowercase:		Tuple):
    assert args[0] == AUTHENTICATED_USER_ENDPOINT
    assert "Authorization" in kwargs["headers"]
    assert kwargs["headers"]["Authorization"].startswith('''token ''')
    assert "Accept" in kwargs["headers"]
    return FakeResponse(b'''{"login":"test","id":1}''')

  monkeypatch.setattr(__lowercase     ,							'''get'''     ,							__lowercase)
  __lowerCAmelCase			=				fetch_github_info('''token''')
  assert result["login"] == "test"
  assert result["id"] == 1







def 					__SCREAMING_SNAKE_CASE  (							__lowercase:		list):



  '''simple docstring'''






  if len(__lowercase) <= 1:
    return data
  else:
    return [
        *quick_sort([e for e in data[1:] if e <= data[0]]),
        data[0],
        *quick_sort([e for e in data[1:] if e > data[0]]),
    ]


if __name__ == "__main__":
      import doctest

      doctest.testmod()
