mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 00:19:16 +02:00
12 lines
255 B
Python
12 lines
255 B
Python
import tempfile
|
|
import shutil
|
|
|
|
|
|
class TMPDirTestCaseMixin(object):
|
|
def setUp(self):
|
|
super().tearDown()
|
|
self.download_dir = tempfile.mkdtemp()
|
|
|
|
def tearDown(self):
|
|
super().tearDown()
|
|
shutil.rmtree(self.download_dir)
|