mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-06 07:55:10 +00:00
test: delete slow, timing-based and redundant tests
This commit is contained in:
@@ -33,10 +33,6 @@ def test_safe_cache_key_rejects_absolute_paths_and_drives():
|
||||
assert safe_cache_key("a\x00b") is None
|
||||
|
||||
|
||||
def test_safe_cache_key_accepts_plain_filename():
|
||||
assert safe_cache_key("valid-key_123") == "valid-key_123"
|
||||
|
||||
|
||||
def test_safe_cache_key_accepts_nested_key_and_normalises_separators():
|
||||
# A Cacher key with a subdirectory ("session_web/<sha1>") keeps its
|
||||
# posix form; a backslash from a Windows peer names the same nested file.
|
||||
|
||||
Reference in New Issue
Block a user