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