Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@raises(RequestError)
@vcr.use_cassette('test/vcr_cassettes/works_query_filters_not_allowed_with_dois.yaml')
def test_works_query_filters_not_allowed_with_dois():
"works - param: kwargs - query filters not allowed on works/DOI/ route"
cr.works(ids = '10.1371/journal.pone.0033693', query_author = 'carl boettiger')
@raises(RequestError)
# @raises(ex.HTTPError)
@vcr.use_cassette('test/vcr_cassettes/registration_agency_bad_request.yaml')
def test_registration_agency_bad_request():
"registration agency - bad request"
cr.registration_agency(5)