''

def test_legacy_r_mapping(self):

    tool_id = 'legacy_R'
    dataset_populator = DatasetPopulator(self.galaxy_interactor)
    history_id = dataset_populator.new_history()
    endpoint = ('tools/%s/install_dependencies' % tool_id)
    data = {'id': tool_id}
    create_response = self._post(endpoint, data=data, admin=True)
    self._assert_status_code_is(create_response, 200)
    payload = dataset_populator.run_tool_payload(tool_id=tool_id, inputs={}, history_id=history_id)
    create_response = self._post('tools', data=payload)
    self._assert_status_code_is(create_response, 200)
    dataset_populator.wait_for_history(history_id, assert_ok=True)
