Module Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Str attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Str attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Str attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Str attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Str attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str For NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest lib.filter Filters TestDOI N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self valid_doi 10.1063/1.3458497 N/A N/A self valid_doi_with_protocol http://dx.doi.org/10.1063/1.3458497 N/A N/A self invalid_doi a10.1063/1.3458497 N/A N/A self valid_doi_organization 10.1000 N/A test_add_valid_doi_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A N/A N/A f add doi N/A self valid_doi N/A N/A N/A Exception N/A N/A N/A N/A self fail Valid DOI could not be added N/A N/A N/A self assertEqual N/A N/A f get_formatted_filters doi:10.1063/1.3458497 N/A test_add_invalid_doi_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add doi N/A self invalid_doi N/A _test_valid_date_filter N/A N/A self filtername date awaited_result N/A N/A N/A f N/A Filters N/A N/A N/A N/A N/A f add filtername date N/A N/A N/A Exception N/A N/A N/A N/A self fail N/A N/A Valid date could not be added: {} format filtername N/A N/A N/A self assertEqual N/A N/A f get_formatted_filters awaited_result N/A test_add_valid_from_pub_date_filter N/A N/A self N/A N/A N/A date N/A 2013 2013-02 2013-02-10 N/A N/A N/A N/A self _test_valid_date_filter from-pub-date date N/A N/A {}:{} format from-pub-date date N/A test_add_invalid_from_pub_date_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add from-pub-date 20132 N/A test_add_valid_from_index_date_filter N/A N/A self N/A N/A N/A date N/A 2013 2013-02 2013-02-10 N/A N/A N/A N/A self _test_valid_date_filter from-index-date date N/A N/A {}:{} format from-index-date date N/A test_add_invalid_from_index_date_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add from-index-date 20132 N/A test_add_valid_until_index_date_filter N/A N/A self N/A N/A N/A date N/A 2013 2013-02 2013-02-10 N/A N/A N/A N/A self _test_valid_date_filter until-index-date date N/A N/A {}:{} format until-index-date date N/A test_add_invalid_until_index_date_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add until-index-date 20132 N/A test_add_valid_from_deposition_date_filter N/A N/A self N/A N/A N/A date N/A 2013 2013-02 2013-02-10 N/A N/A N/A N/A self _test_valid_date_filter from-deposition-date date N/A N/A {}:{} format from-deposition-date date N/A test_add_invalid_from_deposition_date_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add from-deposition-date 20132 N/A test_add_valid_until_deposition_date_filter N/A N/A self N/A N/A N/A date N/A 2013 2013-02 2013-02-10 N/A N/A N/A N/A self _test_valid_date_filter until-deposition-date date N/A N/A {}:{} format until-deposition-date date N/A test_add_invalid_until_deposition_date_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add until-deposition-date 20132 N/A test_add_valid_has_funder_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A N/A N/A f add has-funder True N/A N/A N/A Exception N/A N/A N/A N/A self fail Valid has-funder could not be added N/A N/A N/A self assertEqual N/A N/A N/A N/A f get_formatted_filters lower N/A N/A has-funder:true lower N/A test_add_invalid_has_funder_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add has-funder true N/A test_add_valid_license_url_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A N/A N/A f add license.url http://example.com/this/is/a/test.html N/A N/A N/A Exception N/A N/A N/A N/A self fail Valid license.url could not be added N/A test_add_invalid_license_url_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add license.url httpf://example.com/this/is/a/invalid/url.html N/A test_add_valid_full_text_version_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A N/A N/A f add full-text.version 1.01.beta N/A N/A N/A Exception N/A N/A N/A N/A self fail Valid full-text.version could not be added N/A test_add_invalid_full_text_version_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertRaises ValueError N/A f add full-text.version 4 N/A test_empty_filter N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A self assertEqual N/A N/A f get_formatted_filters N/A test_multiple_filter_entries N/A N/A self N/A N/A N/A f N/A Filters N/A N/A N/A f add doi N/A self valid_doi N/A N/A N/A f add from-pub-date 2013 N/A entry N/A N/A N/A N/A f get_formatted_filters split , N/A N/A N/A N/A self assertIn entry N/A doi:10.1063/1.3458497 from-pub-date:2013 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main