@@ -418,25 +418,22 @@ def test_references_full():
418418
419419
420420def test_references_ref ():
421+ assert_equal (len (ab8 .references ), 48 )
421422 fields = 'position id doi title authors authors_auid authors_affiliationid ' \
422423 'sourcetitle publicationyear coverDate volume issue first last ' \
423424 'citedbycount type text fulltext'
424425 ref = namedtuple ('Reference' , fields )
425- authors8 = 'Armbrust, Michael; Fox, Armando; Griffith, Rean; Joseph, ' \
426- 'Anthony D.; Katz, Randy; Konwinski, Andy; Lee, Gunho; ' \
427- 'Patterson, David; Rabkin, Ariel; Stoica, Ion; Zaharia, Matei'
428- expected8 = ref (position = '1' , id = '77950347409' , authors = authors8 ,
429- doi = '10.1145/1721654.1721672' , title = 'A view of cloud computing' ,
430- sourcetitle = 'Communications of the ACM' , type = 'resolvedReference' ,
431- publicationyear = None , volume = '53' , issue = '4' , first = '50' , last = '58' ,
432- text = None , fulltext = None , citedbycount = '0' , coverDate = '2010-04-01' ,
433- authors_auid = '35800975300; 35571093800; 57198081560; 57192787435; ' \
434- '7401788602; 25926395200; 56326032000; 7401930147; 26534952300; ' \
435- '7007009125; 15064891400' ,
436- authors_affiliationid = '60025038; 60025038; 60025038; 60025038; 60025038; ' \
437- '60025038; 60025038; 60025038; 60025038; 60025038; 60025038' )
438- assert_true (int (ab8 .references [0 ].citedbycount ) >= 0 )
439- assert_equal (ab8 .references [0 ]._replace (citedbycount = "0" ), expected8 )
426+ expected8 = ref (position = '47' , id = '77953310709' ,
427+ doi = '10.1109/INFCOM.2010.5462174' , text = None , fulltext = None ,
428+ title = 'Achieving secure, scalable, and fine-grained data access control in cloud computing' ,
429+ authors = 'Yu, Shucheng; Lou, Wenjing; Wang, Cong; Ren, Kui' ,
430+ authors_auid = '55636591800; 7006030576; 35106222100; 8396435500' ,
431+ authors_affiliationid = '60011410; 60011410; 60002873; 60002873' ,
432+ sourcetitle = 'Proceedings - IEEE INFOCOM' ,
433+ publicationyear = None , coverDate = '2010-06-15' , volume = None , issue = None ,
434+ first = None , last = None , citedbycount = '0' , type = 'resolvedReference' )
435+ assert_equal (ab8 .references [- 2 ]._replace (citedbycount = "0" ), expected8 )
436+ assert_true (int (ab8 .references [- 2 ].citedbycount ) >= 0 )
440437
441438
442439def test_scopus_link ():
0 commit comments