# Path: robograph/datamodel/nodes/lib/http.py
# class HttpClient(node.Node):
# class StatusCode(node.Node):
# class StatusCodeOk(node.Node):
# class RawGet(HttpClient):
# class Get(RawGet):
# class RawPost(HttpClient):
# class Post(RawPost):
# class RawPut(HttpClient):
# class Put(RawPut):
# class RawDelete(HttpClient):
# class Delete(RawDelete):
#     DEFAULT_TIMEOUT_SECS = 3
#     def _encode_payload(self, response, mime_type):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):


from robograph.datamodel.nodes.lib import http

QUERY = dict(pippo="1", pluto="ciao")
HEADERS = {
    'X-Custom': 'value'
}
MIME_TYPE = 'application/json'
FORM_DATA = dict(a="x", b="y", c="z")


def test_get():
    url = u'https://httpbin.org/get'
    expected_reqs = ['url', 'headers', 'auth', 'timeout_secs', 'verify_ssl',
                     'query', 'mime_type']


# Path: robograph/datamodel/nodes/lib/http.py
# class HttpClient(node.Node):
# class StatusCode(node.Node):
# class StatusCodeOk(node.Node):
# class RawGet(HttpClient):
# class Get(RawGet):
# class RawPost(HttpClient):
# class Post(RawPost):
# class RawPut(HttpClient):
# class Put(RawPut):
# class RawDelete(HttpClient):
# class Delete(RawDelete):
#     DEFAULT_TIMEOUT_SECS = 3
#     def _encode_payload(self, response, mime_type):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):
#     def output(self):


# Path: robograph/datamodel/tests/test_http.py
from robograph.datamodel.nodes.lib import http


QUERY = dict(pippo="1", pluto="ciao")
HEADERS = {
    'X-Custom': 'value'
}
MIME_TYPE = 'application/json'
FORM_DATA = dict(a="x", b="y", c="z")


def test_get():
    url = u'https://httpbin.org/get'
    expected_reqs = ['url', 'headers', 'auth', 'timeout_secs', 'verify_ssl',
                     'query', 'mime_type']


    instance = http.Get(url=url, query=QUERY, mime_type=MIME_TYPE,