Skip to content

Commit

Permalink
style: [AXM-644] add missing docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
NiedielnitsevIvan authored and GlugovGrGlib committed Jun 19, 2024
1 parent d0cc126 commit 9b2c961
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/features/offline_mode/assets_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def save_asset_file(temp_dir, xblock, path, filename):

def create_subdirectories_for_asset(file_path):
"""
Creates subdirectories for asset.
Creates the subdirectories for the asset file path if they do not exist.
"""
out_dir_name = '/'
for dir_name in file_path.split('/')[:-1]:
Expand Down
3 changes: 3 additions & 0 deletions openedx/features/offline_mode/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Tests for view that handles course published event.
"""
from unittest.mock import patch

from django.test import TestCase, RequestFactory
Expand Down

0 comments on commit 9b2c961

Please sign in to comment.