File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,16 @@ def test_search_author_id_filled(self):
264264 self .assertEqual (author ['interests' ], [])
265265 self .assertEqual (author ['public_access' ]['available' ], 0 )
266266 self .assertEqual (author ['public_access' ]['not_available' ], 0 )
267- self .assertGreaterEqual (author ['citedby' ], 2067 ) # TODO: maybe change
267+ self .assertGreaterEqual (author ['citedby' ], 2090 )
268268 self .assertGreaterEqual (len (author ['publications' ]), 218 )
269+ cpy = {1986 :4 , 2011 : 137 , 2018 : 100 }
270+ for year , count in cpy .items ():
271+ self .assertEqual (author ["cites_per_year" ][year ], count )
269272 pub = author ['publications' ][1 ]
270273 self .assertEqual (pub ["citedby_url" ],
271274 "https://scholar.google.com/scholar?oi=bibs&hl=en&cites=9976400141451962702" )
272275
276+
273277 def test_extract_author_id_list (self ):
274278 '''
275279 This unit test tests the extraction of the author id field from the html to populate the `author_id` field
You can’t perform that action at this time.
0 commit comments