# Path: kloudless/http.py
# class BaseAuth:
# class APIKeyAuth(BaseAuth):
# class DevKeyAuth(BaseAuth):
# class BearerTokenAuth(BaseAuth):
#     def __init__(self, key):
#     def auth_header(self):
#     def __call__(self, request):
# def request(method, path, configuration=None, **kwargs):
# def _request(requestor, configuration):
# 
# Path: kloudless/exceptions.py
# class KloudlessException(Exception):
# class APIException(KloudlessException):
# class AuthenticationException(KloudlessException):
# class AuthorizationException(KloudlessException):
# class RateLimitException(KloudlessException):
# class ServerException(KloudlessException):
# class ConfigurationException(Exception):
#     def __init__(self, message=None, response=None):
#     def __init__(self, *args, **kwargs):


import requests
import helpers
from kloudless import http, exceptions


def test_unconfigured_request():
    try:
        http.request(requests.get, 'test')
    except exceptions.ConfigurationException:

# Path: kloudless/http.py
# class BaseAuth:
# class APIKeyAuth(BaseAuth):
# class DevKeyAuth(BaseAuth):
# class BearerTokenAuth(BaseAuth):
#     def __init__(self, key):
#     def auth_header(self):
#     def __call__(self, request):
# def request(method, path, configuration=None, **kwargs):
# def _request(requestor, configuration):
# 
# Path: kloudless/exceptions.py
# class KloudlessException(Exception):
# class APIException(KloudlessException):
# class AuthenticationException(KloudlessException):
# class AuthorizationException(KloudlessException):
# class RateLimitException(KloudlessException):
# class ServerException(KloudlessException):
# class ConfigurationException(Exception):
#     def __init__(self, message=None, response=None):
#     def __init__(self, *args, **kwargs):


# Path: tests/unit/test_http.py
import requests
import helpers
from kloudless import http, exceptions



def test_unconfigured_request():
    try:
        http.request(requests.get, 'test')
    except exceptions.ConfigurationException:

        pass