def test_get_refs_three_tokens(self): '''COMMENT''' ref = Reference('SID: 49658669', 'PubChem') self.assertIn(ref, parsers.get_references([8]))
def test_get_references_size_empty(self): '''COMMENT''' self.assertEquals(0, len(parsers.get_references([1])))
def test_get_references(self): '''COMMENT''' ref = Reference('O13340', 'UniProt', 'CC - INDUCTION', 'Podosporapepsin') self.assertIn(ref, parsers.get_references([27594]))
def get_references(self): '''Returns references''' return parsers.get_references(self.__get_all_ids())
def test_get_references_size(self): '''COMMENT''' self.assertTrue(len(parsers.get_references([76181])) > 100)
def test_get_refs_three_tokens(self): '''COMMENT''' ref = Reference('49658669', 'PubChem') self.assertIn(ref, parsers.get_references([8]))
def test_get_references_size(self): '''COMMENT''' self.assertTrue(100 < len(parsers.get_references([76181])))
def test_get_references_size_neg(self): '''COMMENT''' self.assertEqual(0, len(parsers.get_references([-1])))