@attr('integration')
@raises(TransportException)
def test_requests_transport_exception():
    try:
        import requests
    except __HOLE__:
        raise SkipTest("module 'requests' not installed")
    from refreshbooks.transports.use_requests import Transport
    Transport('http://httpstat.us/400', dict)("foo")
dataset/ETHPy150Open freshbooks/refreshbooks/refreshbooks/test/test_transports.py/test_requests_transport_exception