Files
codex-mmo/evals/security-assurance/holdout/benign-path-negative/test_holdout_archive.py
T

13 lines
340 B
Python
Raw Normal View History

2026-08-24 08:11:59 -07:00
import unittest
from pathlib import Path
from archive import normalized_asset_path
class HoldoutNegativeTests(unittest.TestCase):
def test_normalizer_remains_bounded_and_usable(self):
self.assertEqual(
normalized_asset_path("themes/../icons/safe.svg"),
Path("assets/themes/icons/safe.svg"),
)