mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 07:09:16 +02:00
Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
12
api/funkwhale_api/utils/tests.py
Normal file
12
api/funkwhale_api/utils/tests.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
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)
|
Loading…
Add table
Add a link
Reference in a new issue