Skip to content

Commit

Permalink
chore: rem file permission test
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Nov 10, 2024
1 parent c73b2a9 commit 55b9cb6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_load_unversal.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,6 @@ def test_load_file_invalid_explicit_format():
load_file("test.yaml", mode="invalid") # type: ignore


def test_load_file_permission_error(setup_temp_files: Path):
test_file = setup_temp_files / "test.yaml"
test_file.chmod(0o000) # Remove all permissions
load_file(test_file)
test_file.chmod(0o666) # Restore permissions


def test_load_file_invalid_content(setup_temp_files: Path):
with pytest.raises(ParsingError):
load_file(setup_temp_files / "invalid.yaml")
Expand Down

0 comments on commit 55b9cb6

Please sign in to comment.