diff options
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r-- | yaksh/test_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 9d14490..e5ba8dd 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -1054,7 +1054,7 @@ class TestDownloadAssignment(TestCase): self.learning_module.delete() self.learning_unit.delete() self.mod_group.delete() - dir_name = f'{self.course.name.replace(" ", "_")}_{self.course.id}' + dir_name = f'Course_{self.course.id}' file_path = os.sep.join((settings.MEDIA_ROOT, dir_name)) if os.path.exists(file_path): shutil.rmtree(file_path) |