kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
13 wiersze
255 B
Python
13 wiersze
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)
|