diff --git a/tests/test_views_pipelines.py b/tests/test_views_pipelines.py new file mode 100644 index 00000000..1c9f194f --- /dev/null +++ b/tests/test_views_pipelines.py @@ -0,0 +1,105 @@ +"""Tests for app/views/pipelines.py module. + +Covers the pipelines management UI page. +""" + +from unittest.mock import patch + +import pytest + + +@pytest.mark.integration +class TestPipelinesView: + """Integration tests for the /pipelines view route.""" + + def test_pipelines_page_returns_200(self, client): + """GET /pipelines returns HTTP 200.""" + response = client.get("/pipelines") + assert response.status_code == 200 + + def test_pipelines_page_renders_html(self, client): + """GET /pipelines returns HTML content with a proper html tag.""" + response = client.get("/pipelines") + assert response.status_code == 200 + assert b"