Skip to content

feat: add pluggable override for learner home enterprise customer lookup#2554

Merged
marlonkeating merged 10 commits into
masterfrom
pwnage101/ENT-11571
Jul 15, 2026
Merged

feat: add pluggable override for learner home enterprise customer lookup#2554
marlonkeating merged 10 commits into
masterfrom
pwnage101/ENT-11571

Conversation

@pwnage101

@pwnage101 pwnage101 commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Comment thread enterprise/overrides/learner_home.py Outdated
Comment thread enterprise/overrides/learner_home.py Outdated
dict or None: enterprise customer data dict, or None if the user is not an
enterprise customer user.
"""
# Deferred imports — will be replaced with internal paths in epic 17.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clarify comment that this defensive import is only here temporarily because the plan is ultimately to migrate the entire enterprise_support app into edx-enterprise.

@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.70%. Comparing base (681a2c7) to head (e2a1c64).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2554      +/-   ##
==========================================
+ Coverage   86.68%   86.70%   +0.01%     
==========================================
  Files         258      259       +1     
  Lines       16995    17016      +21     
  Branches     1680     1681       +1     
==========================================
+ Hits        14732    14753      +21     
  Misses       1927     1927              
  Partials      336      336              
Flag Coverage Δ
unittests 86.70% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread enterprise/overrides/learner_home.py Outdated
Comment thread enterprise/overrides/learner_home.py Outdated
Comment thread enterprise/overrides/learner_home.py Outdated
Comment thread enterprise/overrides/learner_home.py Outdated
Comment thread tests/test_enterprise/test_overrides_learner_home.py Outdated
Comment thread tests/test_enterprise/test_overrides_learner_home.py Outdated

@pwnage101 pwnage101 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM!

@marlonkeating
marlonkeating merged commit 2b6e4ff into master Jul 15, 2026
11 checks passed
@marlonkeating
marlonkeating deleted the pwnage101/ENT-11571 branch July 15, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants