mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
qa/workunits/smb: add a method for getting testdir path
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
e77b9efd2d
commit
b77f6fa701
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user