This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy_test.api.test_tours

from ._framework import ApiTestCase

[docs]class TourApiTestCase(ApiTestCase):
[docs] def test_index(self): response = self._get("tours") self._assert_status_code_is(response, 200) tours = response.json() tour_keys = map(lambda t: t["id"], tours) assert "core.history" in tour_keys
[docs] def test_show(self): response = self._get("tours/core.history") self._assert_status_code_is(response, 200) tour = response.json() self._assert_has_keys(tour, "name", "description", "title_default", "steps")