diff --git a/tests/conftest.py b/tests/conftest.py index 9598f5c4..0d87dc05 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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"