MCPcopy Create free account
hub / github.com/apache/httpd / check_file_access

Method check_file_access

test/modules/md/md_env.py:386–388  ·  view source on GitHub ↗
(self, path, exp_mask)

Source from the content-addressed store, hash-verified

384 assert actual == test_json
385
386 def check_file_access(self, path, exp_mask):
387 actual_mask = os.lstat(path).st_mode & 0o777
388 assert oct(actual_mask) == oct(exp_mask)
389
390 def check_dir_empty(self, path):
391 assert os.listdir(path) == []

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected