mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-22 03:49:18 +02:00
Use defusedxml in test files for Bandit compliance
Replace xml.etree.ElementTree with defusedxml in test files to satisfy Bandit B314 scanner. While test XML is trusted, using defusedxml consistently across the codebase prevents CI failures. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
85d0b91411
commit
17c8301b4b
@@ -1,8 +1,7 @@
|
||||
"""Unit tests for plate object extraction from 3MF model_settings.config."""
|
||||
|
||||
from xml.etree import ElementTree as ET
|
||||
|
||||
import pytest
|
||||
from defusedxml import ElementTree as ET
|
||||
|
||||
|
||||
class TestPlateObjectExtraction:
|
||||
|
||||
Reference in New Issue
Block a user