Skip to content

Commit

Permalink
Changed requirements file to read-only in test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecsilva committed Dec 18, 2023
1 parent 6d1a755 commit 49c2e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/test_dependency_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_add_to_requirements_txt(self, tmp_repo):
)

def test_fail_to_add(self, tmp_repo):
os.chmod(tmp_repo / self.requirements_file, 0o000)
os.chmod(tmp_repo / self.requirements_file, 0o400)

command = [
"codemodder",
Expand Down

0 comments on commit 49c2e39

Please sign in to comment.