From 87711ee381cbe5ed21e7e977503232cd96ce3588 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Thu, 26 Feb 2026 23:56:01 +0530 Subject: [PATCH] chore: clean up .env.example and pyproject.toml - Removed commented-out testing configuration from .env.example to streamline the file. - Updated markers in pyproject.toml to remove the e2e test marker, clarifying the purpose of the remaining markers. --- surfsense_backend/.env.example | 9 --------- surfsense_backend/pyproject.toml | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/surfsense_backend/.env.example b/surfsense_backend/.env.example index 1aff5f3d9..0af368081 100644 --- a/surfsense_backend/.env.example +++ b/surfsense_backend/.env.example @@ -176,12 +176,3 @@ DAYTONA_API_URL=https://app.daytona.io/api DAYTONA_TARGET=us # Directory for locally-persisted sandbox files (after sandbox deletion) SANDBOX_FILES_DIR=sandbox_files - - -# ============================================================ -# Testing (optional — all have sensible defaults) -# ============================================================ -# TEST_BACKEND_URL=http://localhost:8000 -# TEST_DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/surfsense -# TEST_USER_EMAIL=testuser@surfsense.com -# TEST_USER_PASSWORD=testpassword123 diff --git a/surfsense_backend/pyproject.toml b/surfsense_backend/pyproject.toml index 36dc4e7c1..08775b31f 100644 --- a/surfsense_backend/pyproject.toml +++ b/surfsense_backend/pyproject.toml @@ -178,8 +178,7 @@ python_functions = ["test_*"] addopts = "-v --tb=short -x --strict-markers -ra --durations=5" markers = [ "unit: pure logic tests, no DB or external services", - "integration: tests that require a real PostgreSQL database", - "e2e: tests requiring a running backend and real HTTP calls" + "integration: tests that require a real PostgreSQL database" ] filterwarnings = [ "ignore::UserWarning:chonkie",