Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
ff581d00
Commit
ff581d00
authored
Feb 22, 2017
by
Jesse Shapiro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary pipeline element; use new name for existing element
parent
39fc6ce1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
common/djangoapps/third_party_auth/tests/test_settings.py
+1
-2
common/djangoapps/util/enterprise_helpers.py
+1
-2
requirements/edx/base.txt
+1
-1
No files found.
common/djangoapps/third_party_auth/tests/test_settings.py
View file @
ff581d00
...
...
@@ -60,5 +60,4 @@ class SettingsUnitTest(testutil.TestCase):
@unittest.skipUnless
(
enterprise_enabled
(),
'enterprise not enabled'
)
def
test_enterprise_elements_inserted
(
self
):
settings
.
apply_settings
(
self
.
settings
)
self
.
assertIn
(
'enterprise.tpa_pipeline.set_data_sharing_consent_record'
,
self
.
settings
.
SOCIAL_AUTH_PIPELINE
)
self
.
assertIn
(
'enterprise.tpa_pipeline.verify_data_sharing_consent'
,
self
.
settings
.
SOCIAL_AUTH_PIPELINE
)
self
.
assertIn
(
'enterprise.tpa_pipeline.handle_enterprise_logistration'
,
self
.
settings
.
SOCIAL_AUTH_PIPELINE
)
common/djangoapps/util/enterprise_helpers.py
View file @
ff581d00
...
...
@@ -111,8 +111,7 @@ def insert_enterprise_pipeline_elements(pipeline):
return
additional_elements
=
(
'enterprise.tpa_pipeline.set_data_sharing_consent_record'
,
'enterprise.tpa_pipeline.verify_data_sharing_consent'
,
'enterprise.tpa_pipeline.handle_enterprise_logistration'
,
)
# Find the item we need to insert the data sharing consent elements before
insert_point
=
pipeline
.
index
(
'social.pipeline.social_auth.load_extra_data'
)
...
...
requirements/edx/base.txt
View file @
ff581d00
...
...
@@ -51,7 +51,7 @@ edx-lint==0.4.3
astroid==1.3.8
edx-django-oauth2-provider==1.1.4
edx-django-sites-extensions==2.1.1
edx-enterprise==0.2
3
.0
edx-enterprise==0.2
4
.0
edx-oauth2-provider==1.2.0
edx-opaque-keys==0.4.0
edx-organizations==0.4.3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment