test_replace in test_optimage_e2e does not work with ro filesytem
sk- opened this issue · comments
Sebastian Kreft commented
When you run the tests from a read-only filesystem the test_replace
test fails to replace the file as the image that is used (which got copied with shutil.copy
) has read-only permissions.
Setting os.chmod(path, 0o644)
solves the issue.