Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@raises(exceptions.RequestError)
@vcr.use_cassette('test/vcr_cassettes/journals_fail_limit.yaml')
def test_journals_fail_limit():
"journals - fails on wrong input type to limit"
cr.journals(limit = 'things')
@raises(exceptions.RequestError)
@vcr.use_cassette('test/vcr_cassettes/funders_err_fail_sort.yaml')
def test_funders_fail_sort():
"funders - fails on wrong input type to offset"
cr.funders(sort = 'things')