Skip to content

Commit e3c9425

Browse files
Merge branch 'openedx:master' into issue-35276-unpin-django-webpack-loader
2 parents 06cb0fa + 1a66ab5 commit e3c9425

File tree

7 files changed

+5
-58
lines changed

7 files changed

+5
-58
lines changed

docs/references/static-assets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ which communicate with edx-platform over AJAX, but are built and deployed
1111
independently. Eventually, we expect that MFEs will replace all edx-platform
1212
frontend pages, except perhaps XBlock views.*
1313

14-
Configuraiton
14+
Configuration
1515
*************
1616

1717
To customize the static assets build, set some or all of these variable in your

requirements/constraints.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ django-stubs<6
5252
# for them.
5353
edx-enterprise==5.13.7
5454

55-
# Date: 2024-07-26
56-
# To override the constraint of edx-lint
57-
# This can be removed once https://github.com/openedx/edx-platform/issues/34586 is resolved
58-
# and the upstream constraint in edx-lint has been removed.
59-
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35273
60-
event-tracking==3.0.0
61-
6255
# Date: 2023-07-26
6356
# Our legacy Sass code is incompatible with anything except this ancient libsass version.
6457
# Here is a ticket to upgrade, but it's of debatable importance given that we are rapidly moving

requirements/edx/base.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,8 @@ enmerkar==0.7.1
545545
# via enmerkar-underscore
546546
enmerkar-underscore==2.4.0
547547
# via -r requirements/edx/kernel.in
548-
event-tracking==3.0.0
548+
event-tracking==3.3.0
549549
# via
550-
# -c requirements/edx/../constraints.txt
551550
# -r requirements/edx/kernel.in
552551
# edx-completion
553552
# edx-proctoring

requirements/edx/development.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,8 @@ enmerkar-underscore==2.4.0
859859
# via
860860
# -r requirements/edx/doc.txt
861861
# -r requirements/edx/testing.txt
862-
event-tracking==3.0.0
862+
event-tracking==3.3.0
863863
# via
864-
# -c requirements/edx/../constraints.txt
865864
# -r requirements/edx/doc.txt
866865
# -r requirements/edx/testing.txt
867866
# edx-completion

requirements/edx/doc.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,8 @@ enmerkar==0.7.1
636636
# enmerkar-underscore
637637
enmerkar-underscore==2.4.0
638638
# via -r requirements/edx/base.txt
639-
event-tracking==3.0.0
639+
event-tracking==3.3.0
640640
# via
641-
# -c requirements/edx/../constraints.txt
642641
# -r requirements/edx/base.txt
643642
# edx-completion
644643
# edx-proctoring

requirements/edx/testing.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,9 +663,8 @@ enmerkar==0.7.1
663663
# enmerkar-underscore
664664
enmerkar-underscore==2.4.0
665665
# via -r requirements/edx/base.txt
666-
event-tracking==3.0.0
666+
event-tracking==3.3.0
667667
# via
668-
# -c requirements/edx/../constraints.txt
669668
# -r requirements/edx/base.txt
670669
# edx-completion
671670
# edx-proctoring

xmodule/tests/test_capa_block.py

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2798,48 +2798,6 @@ def test_check_unmask(self):
27982798
('shuffle', ['choice_3', 'choice_1', 'choice_2', 'choice_0'])
27992799
assert event_info['success'] == 'correct'
28002800

2801-
@unittest.skip("masking temporarily disabled")
2802-
def test_save_unmask(self):
2803-
"""On problem save, unmasked data should appear on publish."""
2804-
block = CapaFactory.create(xml=self.common_shuffle_xml)
2805-
with patch.object(block.runtime, 'publish') as mock_publish:
2806-
get_request_dict = {CapaFactory.input_key(): 'mask_0'}
2807-
block.save_problem(get_request_dict)
2808-
mock_call = mock_publish.mock_calls[0]
2809-
event_info = mock_call[1][1]
2810-
assert event_info['answers'][CapaFactory.answer_key()] == 'choice_2'
2811-
assert event_info['permutation'][CapaFactory.answer_key()] is not None
2812-
2813-
@unittest.skip("masking temporarily disabled")
2814-
def test_reset_unmask(self):
2815-
"""On problem reset, unmask names should appear publish."""
2816-
block = CapaFactory.create(xml=self.common_shuffle_xml)
2817-
get_request_dict = {CapaFactory.input_key(): 'mask_0'}
2818-
block.submit_problem(get_request_dict)
2819-
# On reset, 'old_state' should use unmasked names
2820-
with patch.object(block.runtime, 'publish') as mock_publish:
2821-
block.reset_problem(None)
2822-
mock_call = mock_publish.mock_calls[0]
2823-
event_info = mock_call[1][1]
2824-
assert mock_call[1][0] == 'reset_problem'
2825-
assert event_info['old_state']['student_answers'][CapaFactory.answer_key()] == 'choice_2'
2826-
assert event_info['permutation'][CapaFactory.answer_key()] is not None
2827-
2828-
@unittest.skip("masking temporarily disabled")
2829-
def test_rescore_unmask(self):
2830-
"""On problem rescore, unmasked names should appear on publish."""
2831-
block = CapaFactory.create(xml=self.common_shuffle_xml)
2832-
get_request_dict = {CapaFactory.input_key(): 'mask_0'}
2833-
block.submit_problem(get_request_dict)
2834-
# On rescore, state/student_answers should use unmasked names
2835-
with patch.object(block.runtime, 'publish') as mock_publish:
2836-
block.rescore_problem(only_if_higher=False) # lint-amnesty, pylint: disable=no-member
2837-
mock_call = mock_publish.mock_calls[0]
2838-
event_info = mock_call[1][1]
2839-
assert mock_call[1][0] == 'problem_rescore'
2840-
assert event_info['state']['student_answers'][CapaFactory.answer_key()] == 'choice_2'
2841-
assert event_info['permutation'][CapaFactory.answer_key()] is not None
2842-
28432801
def test_check_unmask_answerpool(self):
28442802
"""Check answer-pool question publish uses unmasked names"""
28452803
xml = textwrap.dedent("""

0 commit comments

Comments
 (0)