test: use a tempdir in TestRingData

Change-Id: I88e2e743ccbd6292bc1570ae0efbdd45dcced8cc
This commit is contained in:
Clay Gerrard
2025年06月27日 15:04:43 -05:00
parent b2a0d96f6d
commit 53b66155a7

View File

@@ -50,9 +50,7 @@ class TestRingBase(unittest.TestCase):
class TestRingData(unittest.TestCase):
def setUp(self):
self.testdir = os.path.join(os.path.dirname(__file__), 'ring_data')
rmtree(self.testdir, ignore_errors=1)
os.mkdir(self.testdir)
self.testdir = mkdtemp()
def tearDown(self):
rmtree(self.testdir, ignore_errors=1)
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.