platform tests: misc. minor cleanups

- remove unused global / import
- use is_linux and is_darwin
- rename darwin acl test method
This commit is contained in:
Thomas Waldmann 2024-03-09 17:53:12 +01:00
parent d5396feebd
commit bafea3b5de
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def set_acl(path, acl, numeric_ids=False):
@skipif_acls_not_working
def test_access_acl():
def test_extended_acl():
file = tempfile.NamedTemporaryFile()
assert get_acl(file.name) == {}
set_acl(