"""Tests for app/views/subscriptions.py module. Covers: GET /pricing — public marketing pricing page GET /subscription — authenticated user's current plan & usage """ from unittest.mock import MagicMock, patch import pytest # --------------------------------------------------------------------------- # Integration tests (via TestClient with shared fixtures) # --------------------------------------------------------------------------- @pytest.mark.integration class TestPricingView: """Integration tests for the /pricing route.""" def test_pricing_page_returns_200(self, client): """GET /pricing should return 200.""" response = client.get("/pricing") assert response.status_code == 200 def test_pricing_page_contains_html(self, client): """GET /pricing should return HTML content.""" response = client.get("/pricing") assert b"