test: repurpose decline test to cover sensitive data detection path
Renames test to Test_preChecks_sensitive_data_detected_decline. Uses a temporary .env file with an AWS token to reliably trigger the DefangLabs secret detector, and confirms that preChecks correctly aborts early on user decline. Signed-off-by: Ishwar <ishwarcm@iitbhilai.ac.in>
I
Ishwar committed
37cbf7a9cd788bffd5ceaebfa48e21626f8cc600
Parent: 9c5fd50
Committed by Guillaume Lours <705411+glours@users.noreply.github.com>
on 3/31/2026, 6:35:07 PM