We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f9026 commit c82fa4fCopy full SHA for c82fa4f
tests/test_text_editor.py
@@ -386,3 +386,11 @@ async def test_validate_file_path(editor):
386
editor._validate_file_path("../path/to/file.txt")
387
with pytest.raises(ValueError, match="Path traversal not allowed"):
388
editor._validate_file_path("folder/../file.txt")
389
+
390
391
+@pytest.mark.asyncio
392
+async def test_validate_environment():
393
+ """Test environment validation."""
394
+ editor = TextEditor()
395
+ # Currently just verifies it can be called without error
396
+ editor._validate_environment()
0 commit comments