From: John Mulligan Date: Mon, 29 Jun 2026 18:25:13 +0000 (-0400) Subject: qa/workunits/smb: add a method for getting testdir path X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b77f6fa701b5e92bb397f99761c3f6a874512568;p=ceph.git qa/workunits/smb: add a method for getting testdir path Signed-off-by: John Mulligan --- diff --git a/qa/workunits/smb/tests/smbutil.py b/qa/workunits/smb/tests/smbutil.py index e345c66e4649..38f7f018a573 100644 --- a/qa/workunits/smb/tests/smbutil.py +++ b/qa/workunits/smb/tests/smbutil.py @@ -1,5 +1,6 @@ import base64 import contextlib +import os import pathlib import time @@ -89,6 +90,10 @@ class SMBTestConf: # it for now until we really need to check return self.clients()[0] + @property + def testdir(self): + return self._data.get('testdir') or os.path.expanduser('~/cephtest') + @contextlib.contextmanager def connection(conf, share):