13 lines
340 B
Python
13 lines
340 B
Python
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"),
|
|
)
|