Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bringing Master in to Theseus #33285

Merged
merged 124 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
681cc92
fix: share certificate in FB
DmytroAlipov Jan 17, 2023
c0059c8
Merge branch 'master' into fix-FB-share
e0d Apr 25, 2023
65f317d
Merge branch 'master' into fix-FB-share
e0d Jun 9, 2023
a436c04
Merge branch 'master' into fix-FB-share
e0d Jun 28, 2023
afd6a40
fix: got both positional and keyword arguments
irtazaakram Aug 30, 2023
09f84e5
fix: func.__name__ issue (#33133)
irtazaakram Aug 30, 2023
4773f14
fix: object has no attribute is_ajax (#33134)
irtazaakram Aug 30, 2023
749a086
chore: Updating Python Requirements (#33128)
edx-requirements-bot Aug 30, 2023
3c76d66
Revert "Revert "Revert "feat!: upgrading django-storages to 1.10.1 (#…
awais786 Aug 30, 2023
ddf4ea6
feat: release edx-enterprise 4.1.4 (#33135)
johnnagro Aug 30, 2023
878e720
feat: add API endpoint for asset usage search (#33092)
KristinAoki Aug 30, 2023
081007f
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Aug 30, 2023
98fda41
Merge pull request #33138 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Aug 30, 2023
ee4e561
chore: geoip2: update maxmind geolite country database
Aug 30, 2023
9db024c
feat!: upgrading django-storages to 1.11.1
awais786 Aug 31, 2023
4efd54a
feat: added new_question_post and new_discussion_post notification (#…
muhammadadeeltajamul Aug 31, 2023
c1b28c3
feat: make notification type info translateable (#33071)
muhammadadeeltajamul Aug 31, 2023
96f7e9c
fix: handle new_comment notification edge case (#33088)
muhammadadeeltajamul Aug 31, 2023
23c142a
test: adding check to run migrations tests only if its django32. (#33…
awais786 Aug 31, 2023
2ca5b01
fix: better username lookup in tpa pipeline (#33145)
johnnagro Aug 31, 2023
db45976
build: don't exclude lms/static/css/vendor from Docker build (#33143)
kdmccormick Aug 31, 2023
c75c706
fix: bump edx-enterprise (#33149)
kiram15 Aug 31, 2023
376135c
fix: fix notification generated event, and add notification tray open…
Aug 18, 2023
59299dd
build(deps): bump aws-actions/configure-aws-credentials from 1 to 3 (…
dependabot[bot] Sep 1, 2023
98dfb6d
docs: Makes some improvements in the docs
farhan Aug 30, 2023
26d8c21
feat: implements SHOW_REGISTRATION_LINKS feature toggle
viadanna Mar 30, 2023
6360bc4
feat: Upgrade Python dependency edx-drf-extensions
robrap Sep 1, 2023
53f2030
Merge pull request #33153 from openedx/robrap/upgrade-edx-drf-extensi…
robrap Sep 1, 2023
6704901
fix: include the correct SCSS file for lti_block (#33155)
kdmccormick Sep 1, 2023
6e28ba3
feat: add language auto-tagging with feature flag (#32907)
rpenido Sep 1, 2023
8691aa7
fix: Don't set default_app_config.
feanil Sep 1, 2023
8151d67
feat: Be able to recieve e-mails in dev mode.
feanil Sep 1, 2023
afbd680
fix: move notification generation event within task
Sep 5, 2023
2b5ed92
chore: Updating Python Requirements (#33167)
edx-requirements-bot Sep 5, 2023
aec8fcd
fix: use disabled as default for posting_restrictions (#33159)
AhtishamShahid Sep 5, 2023
322a9c4
build: Fix the docs build.
feanil Sep 5, 2023
c889a45
Merge pull request #33152 from farhan/farhan/doc-improvements
Sep 5, 2023
9f50523
Merge pull request #33156 from openedx/feanil/cleanup_some_warnings
Sep 5, 2023
d74a6ae
fix: for the wiki page translation (#33049)
DmytroAlipov Sep 5, 2023
b94545c
Merge pull request #33171 from openedx/feanil/fix_docs_build
Sep 5, 2023
f39b01c
fix: Add missing code-owner decorators for Celery (#33172)
timmc-edx Sep 5, 2023
9bae5cd
chore(i18n): update translations
Sep 5, 2023
cac1159
feat: ora date config reflected in dates tab (#33118)
jansenk Sep 5, 2023
377c0bf
fix: registration extra fields response (#33183)
syedsajjadkazmii Sep 6, 2023
8742edb
fix: fix course_key param for generated notification event
Sep 6, 2023
c01ccaf
feat: release edx-enterprise 4.1.8 (#33188)
johnnagro Sep 6, 2023
a1d840f
feat: Add an experimental custom attr for automatic Celery task code …
timmc-edx Sep 6, 2023
c5d1807
feat!: remove most Old Mongo functionality (#31134)
UvgenGen Sep 6, 2023
e480a79
feat: create course home api DRF (#33173)
ruzniaievdm Sep 6, 2023
fb49c15
chore: remove ora constraint (#33177)
jansenk Sep 6, 2023
e524af5
feat: added notification_expiry_days in notification count api (#33187)
muhammadadeeltajamul Sep 7, 2023
901ac92
Revert "feat: create course home api DRF (#33173)" (#33194)
connorhaugh Sep 7, 2023
bcc59f5
feat: release edx-enterprise 4.1.9 (#33192)
johnnagro Sep 7, 2023
750ee00
feat: add instructor dashboard filter integration (#32448)
mariajgrimaldi Sep 7, 2023
6e2c43e
refactor: update codejail test condition (#32955)
solababs Sep 7, 2023
7da9984
fix: edxnotes visibility in courseware and courseware API (#33096)
ArturGaspar Sep 7, 2023
e788143
test: remove flaky libraries asset test (#33195)
connorhaugh Sep 7, 2023
c1f8193
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Sep 7, 2023
561593e
Merge pull request #33199 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Sep 7, 2023
03f00d5
Merge branch 'master' into fix-FB-share
e0d Sep 7, 2023
22cc66e
fix: in django42 QuerySet.update_or_create() save only fields passed …
awais786 Sep 8, 2023
ad8ed53
Merge pull request #31578 from DmytroAlipov/fix-FB-share
justinhynes Sep 8, 2023
3978375
feat: create course home api DRF (#33173) (#33204)
ruzniaievdm Sep 8, 2023
175fb0c
fix: version bump (#33208)
kiram15 Sep 8, 2023
d4fbc30
fix: make updates to notification related events
Sep 8, 2023
26bf329
[django42] sha1 is removed in django42 version. (#33129)
awais786 Sep 11, 2023
ca9b008
fix: fix notification generated event to include only users with pref…
Sep 11, 2023
3aa1fdd
chore: remove duplicate apt dependencies from Dockerfile (#32982)
OmarIthawi Sep 11, 2023
8ed6756
fix: fixed unregistered task in new thread notification (#33223)
muhammadadeeltajamul Sep 12, 2023
9c23483
chore: Updating Python Requirements (#33222)
edx-requirements-bot Sep 12, 2023
cc9721e
fix: remove django-ipware constraint (#33225)
UsamaSadiq Sep 12, 2023
ae46cca
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Sep 11, 2023
933485d
Merge pull request #33221 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Sep 12, 2023
4191a37
fix: expected query count django 4.2 (#33235)
irtazaakram Sep 13, 2023
71d99c8
Merge pull request #33132 from openedx/fix-got-both-positional-and-ke…
irtazaakram Sep 13, 2023
3b869dd
feat: install `atlas` translation tool (#32952)
OmarIthawi Sep 13, 2023
f9c1af7
feat: change problem default display name (#33240)
KristinAoki Sep 13, 2023
52c7403
Merge pull request #33157 from openedx/feanil/minimal_config_updates
Sep 13, 2023
282b934
fix: Add code owner to celery task. (#33238)
dianakhuang Sep 13, 2023
ac9aa91
fix: Vertically center align Unit paste spinner (#33169)
yusuf-musleh Sep 13, 2023
ee1b6b8
fix: Copy/Paste unit with python_lib.zip (#33164)
yusuf-musleh Sep 13, 2023
0ae63de
chore: geoip2: update maxmind geolite country database
Sep 13, 2023
0592b76
feat: Upgrade Python dependency edx-enterprise (#33242)
github-actions[bot] Sep 13, 2023
90ca72a
chore: added log to track changes in user notification pref (#33237)
AhtishamShahid Sep 14, 2023
fdae21a
chore: unpin redis client version (#33215)
mumarkhan999 Sep 14, 2023
5290697
chore: removing django-history pin. (#33250)
awais786 Sep 14, 2023
648a302
Deprecation of edx-user-state-client repo (#33218)
salman2013 Sep 14, 2023
88b6f38
fix: turn off atomic requests for course api get views (#33230)
jansenk Sep 14, 2023
5953b11
docs: update documentation link in README (#33244)
robrap Sep 14, 2023
d3a6615
chore: update location config for devstack-experimental (#33256)
germanolleunlp Sep 14, 2023
548d302
chore: ORA bump to 5.4.0 (#33255)
nsprenkle Sep 14, 2023
6ff8e42
fix: removed user object from logs (#33264)
AhtishamShahid Sep 15, 2023
5fcad88
fix: notification tray icon was not visible to non-verified users (#3…
muhammadadeeltajamul Sep 15, 2023
202e790
fix: Integraty error in enrollments api (#33265)
AhtishamShahid Sep 15, 2023
e820162
fix: add public video share valid course key check (#33260)
KristinAoki Sep 15, 2023
265701c
feat!: remove library_sourced block (#33257)
kdmccormick Sep 15, 2023
eeb3573
fix: Update cors_csrf middleware for Django 4.0 (#33262)
timmc-edx Sep 15, 2023
ceb6628
chore: upgrade edx-sgae to 0.23.0 (#33254)
iamsobanjaved Sep 15, 2023
0d15ca7
fix: Escape CDATA special char on xblock serialize (#33239)
yusuf-musleh Sep 15, 2023
3eb4e0c
feat: Update new files notification banner styles (#33197)
yusuf-musleh Sep 15, 2023
12ea8e9
fix: Pasting unit with LibraryContentBlock error (#33160)
yusuf-musleh Sep 15, 2023
02dd36c
temp: pin openedx-events to before publish-by-config (#33266)
Sep 15, 2023
9bb1b1b
chore: version bump
katrinan029 Sep 15, 2023
a1f7ea0
fix: merge conflicts
katrinan029 Sep 15, 2023
cddfc02
feat: add email support to the enrollment post and get methods (#33006)
MaferMazu Sep 15, 2023
76dbcde
feat: CourseEnrollmentAllowed API (#33059)
MaferMazu Sep 15, 2023
3db436b
Merge pull request #33270 from openedx/knguyen2/ENT-7697-version-bump
katrinan029 Sep 15, 2023
25b18e8
build: Add missing Celery task decorators, and add CI check for it (#…
timmc-edx Sep 15, 2023
20efcdc
fix: User retirement 404 for state RETIRING_FORUMS (#33024)
DmytroAlipov Sep 18, 2023
55260b9
chore: upgrade dot (#33079)
awais786 Sep 18, 2023
5dd13fb
feat: upgrade edx-i18n-tools to v1.2.0 (#33236)
OmarIthawi Sep 18, 2023
0797977
docs: ADR: Evolving the library_content block schema (#33231)
kdmccormick Sep 18, 2023
3acb1d8
docs: annotate lms progress tab ui waffle flag (#33233)
LakshyaKhatri Sep 18, 2023
8342e6b
fix: loading of underscore and other text assets over CDN (#33124)
xitij2000 Sep 18, 2023
3fdb435
build: Fix common-constraints override to prevent doubled comment (#3…
timmc-edx Sep 18, 2023
1552ea0
Add compile-requirements GH workflow and update requirements README (…
timmc-edx Sep 18, 2023
fa66240
Revert "feat: Add an experimental custom attr for automatic Celery ta…
timmc-edx Sep 18, 2023
3c3306c
feat: implement tag object rest api in cms (#33181)
rpenido Sep 18, 2023
2d7f8af
docs: Fix link to sharding doc (#33278)
timmc-edx Sep 19, 2023
9b44065
fix: hide sequences & sections when access is restricted in units thr…
CefBoud Sep 19, 2023
4a9aed4
feat: emit log in / out tracking logs (#33219)
Ian2012 Sep 19, 2023
4a3370f
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Sep 18, 2023
92e6c07
docs: move up docs link in README (#33281)
robrap Sep 19, 2023
20ac79f
Merge pull request #33277 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Sep 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ common/test/data/badges/*.png
### Static assets pipeline artifacts
**/*.scssc
lms/static/css/
!lms/static/css/vendor
lms/static/certificates/css/
cms/static/css/
common/static/common/js/vendor/
Expand Down
72 changes: 72 additions & 0 deletions .github/workflows/compile-python-requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Recompile Python dependencies

on:
workflow_dispatch:
inputs:
branch:
description: 'Target branch to create requirements PR against'
required: true
default: 'master'
type: string

defaults:
run:
shell: bash # making this explicit opts into -e -o pipefail

jobs:
recompile-python-dependencies:
runs-on: ubuntu-20.04

steps:
- name: Check out target branch
uses: actions/checkout@v3
with:
ref: "${{ inputs.branch }}"

- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.8"

- name: Run make compile-requirements
env:
PACKAGE: "${{ inputs.package }}"
run: |
make compile-requirements

- name: PR preflight
run: |
if git diff --exit-code; then
# Fail early (and avoid quiet failure of create-pull-request action)
echo "Error: No changes, so not creating PR." | tee -a "$GITHUB_STEP_SUMMARY"
exit 1
fi

- name: Make a PR
id: make-pr
uses: peter-evans/create-pull-request@v5
with:
branch: "${{ github.triggering_actor }}/compile-python-deps"
branch-suffix: short-commit-hash
add-paths: requirements
commit-message: |
feat: Recompile Python dependencies

Commit generated by workflow `${{ github.workflow_ref }}`
title: "chore: Recompile Python dependencies"
body: >-
PR generated by workflow `${{ github.workflow_ref }}`
on behalf of @${{ github.triggering_actor }}.
assignees: "${{ github.triggering_actor }}"
reviewers: "${{ github.triggering_actor }}"

- name: Job summary
env:
PR_URL: "${{ steps.make-pr.outputs.pull-request-url }}"
run: |
if [[ -z "$PR_URL" ]]; then
echo "PR not created; see log for more information" | tee -a "$GITHUB_STEP_SUMMARY"
exit 1
else
echo "PR created or updated: $PR_URL" | tee -a "$GITHUB_STEP_SUMMARY"
fi
2 changes: 1 addition & 1 deletion .github/workflows/publish-ci-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v3
with:
aws-access-key-id: ${{ secrets.TOOLS_EDX_ECR_USER_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.TOOLS_EDX_ECR_USER_AWS_SECRET_ACCESS_KEY }}
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Finds code problems by structural pattern matching.
#
# New rules can be added to test_root/semgrep/ and they should be picked up
# automatically. See https://semgrep.dev/docs/ for documentation.

name: Semgrep code quality

on:
pull_request:
push:
branches:
- master

jobs:
run_semgrep:
name: Semgrep analysis
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [ "ubuntu-20.04" ]
python-version: [ "3.8" ]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1

- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"

- name: Install semgrep
run: |
make pre-requirements
pip-sync requirements/edx/semgrep.txt

- name: Run semgrep
env:
# Peg this to some reasonable value so that semgrep's rewrapping
# of messages doesn't break up lines in an unpredictable manner:
# https://github.com/returntocorp/semgrep/issues/8608
COLUMNS: 80
run: |
semgrep scan --config test_root/semgrep/ --error --quiet \
-- lms cms common openedx
45 changes: 23 additions & 22 deletions .github/workflows/upgrade-one-python-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@ name: Upgrade one Python dependency

on:
workflow_dispatch:
inputs:
branch:
description: 'Target branch to create requirements PR against'
required: true
default: 'master'
type: string
package:
description: 'Name of package to upgrade'
required: true
type: string
version:
description: 'Version number to upgrade to in constraints.txt (only needed if pinned)'
default: ''
type: string
change_desc:
description: |
Description of change, for commit message and PR. (What does the new version add or fix?)
default: ''
type: string
inputs:
branch:
description: 'Target branch to create requirements PR against'
required: true
default: 'master'
type: string
package:
description: 'Name of package to upgrade'
required: true
type: string
version:
description: 'Version number to upgrade to in constraints.txt (only needed if pinned)'
default: ''
type: string
change_desc:
description: |
Description of change, for commit message and PR. (What does the new version add or fix?)
default: ''
type: string

defaults:
run:
shell: bash # making this explicit opts into -e -o pipefail

jobs:
upgrade-one-python-dependency-workflow:
upgrade-one-python-dependency:
runs-on: ubuntu-20.04

steps:
Expand Down Expand Up @@ -92,8 +92,9 @@ jobs:

${{ env.body_prefix }}Commit generated by workflow `${{ github.workflow_ref }}`
title: "feat: Upgrade Python dependency ${{ inputs.package }}"
body: |
${{ env.body_prefix }}PR generated by workflow `${{ github.workflow_ref }}` on behalf of @${{ github.triggering_actor }}.
body: >-
${{ env.body_prefix }}PR generated by workflow `${{ github.workflow_ref }}`
on behalf of @${{ github.triggering_actor }}.
assignees: "${{ github.triggering_actor }}"
reviewers: "${{ github.triggering_actor }}"

Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build:
python: "3.8"

sphinx:
configuration: source/conf.py
configuration: docs/conf.py

python:
install:
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ RUN apt-get update && \
apt-get -y install --no-install-recommends \
curl \
libssl-dev \
libxml2-dev \
libxmlsec1-dev \
libxslt1-dev \
libffi-dev \
libfreetype6-dev \
libgeos-dev \
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ REQ_FILES = \
requirements/edx/testing \
requirements/edx/development \
requirements/edx/assets \
requirements/edx/semgrep \
scripts/xblock/requirements

define COMMON_CONSTRAINTS_TEMP_COMMENT
Expand All @@ -111,7 +112,7 @@ endef
COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt
.PHONY: $(COMMON_CONSTRAINTS_TXT)
$(COMMON_CONSTRAINTS_TXT):
wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt || touch "$(@)"
wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
printf "$(COMMON_CONSTRAINTS_TEMP_COMMENT)" | cat - $(@) > temp && mv temp $(@)

compile-requirements: export CUSTOM_COMPILE_COMMAND=make upgrade
Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ platform. Functionally, the edx-platform repository provides two services:
* CMS (Content Management Service), which powers Open edX Studio, the platform's learning content authoring environment; and
* LMS (Learning Management Service), which delivers learning content.

Documentation
*************

Documentation can be found at https://docs.openedx.org/projects/edx-platform.

Getting Started
***************

Expand Down Expand Up @@ -81,11 +86,6 @@ and other rich community resources.

.. _Open edX site: https://openedx.org

Documentation
*************

Documentation can be found at https://docs.openedx.org.


Getting Help
************
Expand Down
45 changes: 45 additions & 0 deletions cms/djangoapps/contentstore/asset_storage_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,51 @@ def handle_assets(request, course_key_string=None, asset_key_string=None):
return HttpResponseNotFound()


def get_asset_usage_path(request, course_key, asset_key_string):
"""
Get a list of units with ancestors that use given asset.
"""
course_key = CourseKey.from_string(course_key)
if not has_course_author_access(request.user, course_key):
raise PermissionDenied()
asset_location = AssetKey.from_string(asset_key_string) if asset_key_string else None
store = modulestore()
usage_locations = []
static_path = StaticContent.get_static_path_from_location(asset_location)
verticals = store.get_items(
course_key,
qualifiers={
'category': 'vertical'
},
)
blocks = []

for vertical in verticals:
blocks.extend(vertical.get_children())

for block in blocks:
is_video_block = getattr(block, 'category', '') == 'video'
if is_video_block:
handout = getattr(block, 'handout', '')
if handout and str(asset_location) in handout:
unit = block.get_parent()
subsection = unit.get_parent()
subsection_display_name = getattr(subsection, 'display_name', '')
unit_display_name = getattr(unit, 'display_name', '')
xblock_display_name = getattr(block, 'display_name', '')
usage_locations.append(f'{subsection_display_name} - {unit_display_name} / {xblock_display_name}')
else:
data = getattr(block, 'data', '')
if static_path in data or str(asset_location) in data:
unit = block.get_parent()
subsection = unit.get_parent()
subsection_display_name = getattr(subsection, 'display_name', '')
unit_display_name = getattr(unit, 'display_name', '')
xblock_display_name = getattr(block, 'display_name', '')
usage_locations.append(f'{subsection_display_name} - {unit_display_name} / {xblock_display_name}')
return JsonResponse({'usage_locations': usage_locations})


def _get_response_format(request):
return request.GET.get('format') or request.POST.get('format') or 'html'

Expand Down
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def xblock_type_display_name(xblock, default_display_name=None):
elif category == 'vertical':
return _('Unit')
elif category == 'problem':
# The problem XBlock's display_name.default is not helpful ("Blank Advanced Problem") but changing it could have
# The problem XBlock's display_name.default is not helpful ("Blank Problem") but changing it could have
# too many ripple effects in other places, so we have a special case for capa problems here.
# Note: With a ProblemBlock instance, we could actually check block.problem_types to give a more specific
# description like "Multiple Choice Problem", but that won't work if our 'block' argument is just the block_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""


from unittest import skip
from django.conf import settings
from django.core.management import call_command
from opaque_keys.edx.keys import CourseKey
Expand All @@ -20,6 +21,9 @@
TEST_DATA_DIR = settings.COMMON_TEST_DATA_ROOT


@skip("OldMongo Deprecation")
# This test worked only for Old Mongo
# Can later be converted to work with Split
class ExportAllCourses(ModuleStoreTestCase):
"""
Tests assets cleanup for all courses.
Expand Down
Loading