def test_TreeBuilder(self):
    'Test TreeBuilder class.'
    dfs_caller = parse_ebi.TreeBuilder(CONST_ID_TO_NODE)
    INTERACTION_TYPE_ROOT = 'MI:0001'
    interaction_type_id_set = dfs_caller.get_subset_id(INTERACTION_TYPE_ROOT)
    self.assertEqual(interaction_type_id_set, CONST_INTERACTION_TYPE_ID_SET)
Test TreeBuilder class.
def test_TreeBuilder(self):
    
    dfs_caller = parse_ebi.TreeBuilder(CONST_ID_TO_NODE)
    INTERACTION_TYPE_ROOT = 'MI:0001'
    interaction_type_id_set = dfs_caller.get_subset_id(INTERACTION_TYPE_ROOT)
    self.assertEqual(interaction_type_id_set, CONST_INTERACTION_TYPE_ID_SET)