From 9c99b9b35219f54db8d7be0958d4390a106631ae Mon Sep 17 00:00:00 2001 From: Fahad Date: Sun, 5 Oct 2025 08:55:50 +0400 Subject: [PATCH] refactor: fixed test --- tests/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index a3add3e..f3d1f92 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -34,8 +34,8 @@ class TestFileUtils: # In the new security model, safe files like /etc/passwd # can be read as they're not in the dangerous paths list content, tokens = read_file_content("/etc/passwd") - # Should successfully read the file - assert "--- BEGIN FILE: /etc/passwd ---" in content + # Should successfully read the file (with timestamp in header) + assert "--- BEGIN FILE: /etc/passwd (Last modified:" in content assert "--- END FILE: /etc/passwd ---" in content assert tokens > 0