Repository navigation
feat!: remove the XQueue service settings, callback and the MATLAB API key #39405
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
Changes from all commits
f8d6364
ebe22ff
373d8de
7a2164f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -149,14 +149,16 @@ def test_lti_constructor(self, mock_render_django_template): | |
|
|
||
| @patch('xblock.utils.resources.ResourceLoader.render_django_template', side_effect=mock_render_template) | ||
| def test_lti_preview_handler(self, mock_render_django_template): | ||
| generated_content = self.block.preview_handler(None, None).body | ||
| generated_content = self.block.preview_handler(None, None).body.decode('utf-8') | ||
|
|
||
| if settings.USE_EXTRACTED_LTI_BLOCK: | ||
| # Remove i18n service from the extracted LTI Block's rendered `preview_handler` content | ||
| generated_content = re.sub(r"\{.*?}", "{}", generated_content) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Question: I'm curious why this LTI change is mixed up in here. It's not a problem if it is, but I'm curious if it's some weird knock-on effect of the XQueue/MATLAB removal, or just something that was noticed along the way.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a knock-on from the xblocks-core bump, not from the removal itself. xblocks-core 3.1.0 started passing |
||
| expected_content = self.runtime.render_template('templates/lti_form.html', self.expected_context) | ||
| mock_render_django_template.assert_called_once() | ||
| else: | ||
| expected_content = self.runtime.render_template('lti_form.html', self.expected_context) | ||
| assert generated_content.decode('utf-8') == expected_content | ||
| assert generated_content == expected_content | ||
|
|
||
|
|
||
| class _TestLTIBlockListingBase(SharedModuleStoreTestCase): | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, the Authoring MFE has its own copies of these strings (export page, export footer, export sidebar, import sidebar), so they need the same edit. Could you add that to the follow-ups in the description?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went ahead and made the PR for it: openedx/frontend-app-authoring#3387 It's linked from the follow-ups in the description too.