'''simple docstring'''







import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info






def 		_lowercase		(     lowercase_  ):



		'''simple docstring'''







		class 					lowerCamelCase_							:




							'''simple docstring'''






							def __init__(   self,  __UpperCamelCase			):
									assert isinstance(__SCREAMING_SNAKE_CASE,  (bytes, str)			)
									_snake_case     	=	content






							def     __SCREAMING_SNAKE_CASE     (   self			):
									return json.loads(self.content			)

		def mock_response(*lowercase_						,							**lowercase_  ):
				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(snake_case__						,							"get"						,							snake_case__  )
		_snake_case     	=	fetch_github_info("token"  )
		assert result["login"] == "test"
		assert result["id"] == 1











'''simple docstring'''







import math





class 					lowerCamelCase_							:




					'''simple docstring'''






					def __init__(   self,  __UpperCamelCase,  __UpperCamelCase,  __UpperCamelCase			):
							_snake_case     	=	x
							_snake_case     	=	y
							_snake_case     	=	z






					def __repr__(   self			):
							return f'''Point({self.x}, {self.y}, {self.z})'''






def 		_lowercase		(     lowercase_						,							lowercase_  ):



		'''simple docstring'''







		return math.sqrt(abs((b.x - a.x) ** 2 + (b.y - a.y) ** 2 + (b.z - a.z) ** 2  )  )


if __name__ == "__main__":
						import doctest

						doctest.testmod()





