qa/workunits/smb: add a method for getting testdir path

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2026-06-29 14:25:13 -04:00
parent e77b9efd2d
commit b77f6fa701

View File

@ -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):