Loading lib/galaxy_test/api/test_jobs.py +9 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,15 @@ class TestJobsApi(ApiTestCase, TestsTools): job = jobs[0] self._assert_has_keys(job, "id", "tool_id", "state") @pytest.mark.require_new_history def test_job_list_default_view(self, history_id): self.__history_with_new_dataset(history_id) jobs_response = self._get(f"jobs?history_id={history_id}") self._assert_status_code_is_ok(jobs_response) jobs = jobs_response.json() job = jobs[0] self._assert_has_keys(job, "id", "tool_id", "state") @pytest.mark.require_new_history def test_index_state_filter(self, history_id): # Initial number of ok jobs Loading Loading
lib/galaxy_test/api/test_jobs.py +9 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,15 @@ class TestJobsApi(ApiTestCase, TestsTools): job = jobs[0] self._assert_has_keys(job, "id", "tool_id", "state") @pytest.mark.require_new_history def test_job_list_default_view(self, history_id): self.__history_with_new_dataset(history_id) jobs_response = self._get(f"jobs?history_id={history_id}") self._assert_status_code_is_ok(jobs_response) jobs = jobs_response.json() job = jobs[0] self._assert_has_keys(job, "id", "tool_id", "state") @pytest.mark.require_new_history def test_index_state_filter(self, history_id): # Initial number of ok jobs Loading