diff --git a/src/utils/opt_in_checker_test.py b/src/utils/opt_in_checker_test.py index 7fdb82a..26126ee 100644 --- a/src/utils/opt_in_checker_test.py +++ b/src/utils/opt_in_checker_test.py @@ -54,6 +54,7 @@ def test_dir_no_writable(self): self.assertTrue(self.opt_in_checker.check(enable_opt_in_dialog=False) == ConsentCheckResult.NO_FILE) self.assertTrue(self.opt_in_checker.check(enable_opt_in_dialog=True) == ConsentCheckResult.NO_FILE) self.assertTrue(self.opt_in_checker.create_or_check_consent_dir() is False) + os.chmod(test_dir, 0o777) def test_subdir_is_file(self):