Skip to content

Commit

Permalink
Try to fix Windows owner test
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Oct 22, 2024
1 parent 29b5990 commit 74f5c8f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ def owner(request):
):
host_wo_https = pytest.HOSTS["artifactory"][8:]
owner = backend_cls.get_authentication(host_wo_https)[0]
elif (
hasattr(audbackend.backend, "Minio") and backend_cls == audbackend.backend.Minio
):
if os.name == "nt":
owner = "runneradmin"
else:
owner = getpass.getuser()
else:
if os.name == "nt":
owner = "Administrators"
Expand Down

0 comments on commit 74f5c8f

Please sign in to comment.