Skip to content

Commit

Permalink
Bandit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Oct 6, 2023
1 parent 04c72b0 commit e504ad7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/opt_in_checker_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down

0 comments on commit e504ad7

Please sign in to comment.