示例#1
0
 def test_get_outgoings_empty_size(self):
     '''COMMENT'''
     self.assertTrue(len(parsers.get_outgoings(1)) == 0)
示例#2
0
 def test_get_outgoings(self):
     '''COMMENT'''
     rel = Relation('is_a', 'CHEBI:17634', 'C')
     self.assertIn(rel, parsers.get_outgoings(4167))
示例#3
0
 def test_get_outgoings_size(self):
     '''COMMENT'''
     self.assertTrue(len(parsers.get_outgoings(4167)) > 2)
示例#4
0
 def test_get_outgoings(self):
     '''COMMENT'''
     rel = Relation('is_a', 'CHEBI:17634', 'C')
     self.assertIn(rel, parsers.get_outgoings(4167))
示例#5
0
 def test_get_outgoings_empty_size(self):
     '''COMMENT'''
     self.assertTrue(0 == len(parsers.get_outgoings(1)))
示例#6
0
 def test_get_outgoings_size(self):
     '''COMMENT'''
     self.assertTrue(2 < len(parsers.get_outgoings(4167)))
示例#7
0
 def test_get_outgoings_neg_size(self):
     '''COMMENT'''
     self.assertTrue(len(parsers.get_outgoings(-1)) == 0)