Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias Import alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore TupleLoad Str NameLoad Assign NameStore TupleLoad Str NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad AttributeLoad NameLoad attr Print NameLoad Expr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Print NameLoad Assign NameStore Dict Str Str Num Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str TupleLoad Num Str TupleLoad Num Str Print NameLoad For NameStore NameLoad body Assert CompareGtE SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num ListLoad NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num ListLoad NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list NameLoad decorator_list
N/A test.unit_tests.providers common test.unit_tests.providers.common ProviderTestCase totalimpact.providers.provider Provider ProviderContentMalformedError test.utils http N/A os N/A collections nose.tools assert_equals raises nottest N/A datadir N/A N/A N/A os path join N/A N/A N/A N/A os path split __file__ N/A 0 ../../../extras/sample_provider_pages/plosalm N/A SAMPLE_EXTRACT_METRICS_PAGE N/A N/A N/A os path join datadir metrics N/A TEST_DOI 10.1371/journal.pcbi.1000361 TestPlosalm N/A ProviderTestCase N/A N/A provider_name plosalm N/A testitem_aliases N/A doi TEST_DOI N/A testitem_metrics N/A doi TEST_DOI setUp N/A N/A self N/A N/A N/A N/A N/A ProviderTestCase setUp self N/A test_is_relevant_alias N/A N/A self N/A N/A N/A N/A assert_equals N/A N/A N/A self provider is_relevant_alias N/A self testitem_aliases True N/A test_provenance_url N/A N/A self N/A N/A N/A response N/A N/A N/A self provider provenance_url plosalm:html_views N/A N/A self testitem_aliases N/A response N/A N/A assert_equals response http://dx.doi.org/10.1371/journal.pcbi.1000361 N/A test_extract_metrics_success N/A N/A self N/A N/A N/A f N/A open SAMPLE_EXTRACT_METRICS_PAGE r N/A good_page N/A N/A f read N/A metrics_dict N/A N/A N/A self provider _extract_metrics good_page N/A metrics_dict N/A expected N/A plosalm:pdf_views plosalm:html_views 952 13642 N/A N/A assert_equals metrics_dict expected N/A test_metrics N/A N/A self N/A N/A N/A metrics_dict N/A N/A N/A self provider metrics N/A N/A self testitem_metrics N/A expected N/A plosalm:pdf_views plosalm:html_views N/A 1428 http://dx.doi.org/10.1371/journal.pcbi.1000361 N/A 20720 http://dx.doi.org/10.1371/journal.pcbi.1000361 N/A metrics_dict N/A key expected N/A N/A N/A N/A N/A metrics_dict N/A key N/A 0 N/A N/A expected N/A key N/A 0 N/A key N/A metrics_dict N/A key N/A expected N/A key N/A N/A N/A N/A metrics_dict N/A key N/A 1 N/A N/A expected N/A key N/A 1 N/A key N/A metrics_dict N/A key N/A expected N/A key N/A http N/A