😏
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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"),
|
||||
)
|
||||
Reference in New Issue
Block a user