def test_get_incomings_empty_size(self):
     '''COMMENT'''
     self.assertTrue(len(parsers.get_incomings(1)) == 0)
 def test_get_incomings(self):
     '''COMMENT'''
     rel = Relation('has_functional_parent', '15866', 'C')
     self.assertIn(rel, parsers.get_incomings(4167))
 def test_get_incomings_size(self):
     '''COMMENT'''
     self.assertTrue(len(parsers.get_incomings(4167)) > 19)
 def test_get_incomings(self):
     '''COMMENT'''
     rel = Relation('has_functional_parent', '15866', 'C')
     self.assertIn(rel, parsers.get_incomings(4167))
 def test_get_incomings_empty_size(self):
     '''COMMENT'''
     self.assertTrue(0 == len(parsers.get_incomings(1)))
 def test_get_incomings_size(self):
     '''COMMENT'''
     self.assertTrue(19 < len(parsers.get_incomings(4167)))
Exemple #7
0
 def test_get_incomings_neg_size(self):
     '''COMMENT'''
     self.assertTrue(len(parsers.get_incomings(-1)) == 0)