ci: fix test file references and hardcoded paths
Some checks failed
CI / Lint & Format (push) Successful in 22s
CI / Security Scan (push) Successful in 20s
CI / Advanced Security Tests (push) Successful in 15s
CI / Memory Leak Check (push) Successful in 19s
CI / Security Tests (push) Successful in 25s
CI / Unit Tests (push) Successful in 33s
CI / SBOM Generation (push) Successful in 20s
CI / Build & Push Image (push) Failing after 29s

- Remove non-existent test_mime_detection.py from unit tests
- Use relative paths in security tests for container compatibility
This commit is contained in:
Username
2026-01-18 10:23:31 +01:00
parent 3be2fd6cf6
commit 195752fe75
3 changed files with 7 additions and 6 deletions

View File

@@ -7,8 +7,9 @@ import io
import pstats
import signal
import sys
from pathlib import Path
sys.path.insert(0, "/home/user/git/flaskpaste")
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
from app import create_app