예제 #1
0
 def test_uniq(self):
     """bibrank downloads indexer - uniq function"""
     self.assertEqual([1, 2, 3],
                      bibrank_downloads_indexer.uniq([1, 2, 3, 3, 3, 2]))
예제 #2
0
 def test_uniq(self):
     """bibrank downloads indexer - uniq function"""
     self.assertEqual([1, 2, 3], bibrank_downloads_indexer.uniq([1, 2, 3, 3, 3, 2]))
예제 #3
0
 def test_uniq(self):
     """bibrank downloads indexer - uniq function."""
     from invenio.legacy.bibrank import \
         downloads_indexer as bibrank_downloads_indexer
     self.assertEqual(
         [1, 2, 3], bibrank_downloads_indexer.uniq([1, 2, 3, 3, 3, 2]))