mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-06-28 08:07:28 -04:00
added new property which indicates the remaining download time in secs
This commit is contained in:
parent
e75d9a7de5
commit
83618ff529
7 changed files with 18 additions and 5 deletions
|
@ -42,6 +42,7 @@ class Mat2WebTestCase(unittest.TestCase):
|
|||
randint_mock.return_value = 0
|
||||
file_removal_scheduler.run_file_removal_job(self.app.config['UPLOAD_FOLDER'])
|
||||
self.assertTrue(path.exists(path.join(self.upload_folder, filename)))
|
||||
environ['MAT2_MAX_FILE_AGE_FOR_REMOVAL'] = str(15 * 60)
|
||||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(self.upload_folder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue