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

feat: Add manufacture_data django command #400

Merged
merged 1 commit into from Feb 8, 2024

Conversation

marlonkeating
Copy link
Contributor

@marlonkeating marlonkeating commented Feb 6, 2024

Description

Adding support for the manufacture_data command from openedx/edx-django-utils#369

Ticket Link

ENT-8298

Testing

  1. make app-shell
  2. make requirements
  3. python ./manage.py manufacture_data --model enterprise_access.apps.subsidy_access_policy.models.AssignedLearnerCreditAccessPolicy --spend_limit 10000

Other Test Cases

  • python ./manage.py manufacture_data --model enterprise_access.apps.content_assignments.models.LearnerContentAssignment --learner_email "test@email.com"
  • python ./manage.py manufacture_data --model enterprise_access.apps.core.models.User --email "test@email.com"
  • python ./manage.py manufacture_data --model enterprise_access.apps.subsidy_request.models.CouponCodeRequest --coupon_code "abc123"

@marlonkeating marlonkeating force-pushed the mkeating/ENT-8298 branch 2 times, most recently from 7a656b9 to 2a40dcb Compare February 6, 2024 22:10
style: fix whitespace issues

chore: fix import sorting

chore: remove unused import
Copy link
Contributor

@kiram15 kiram15 left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@alex-sheehan-edx alex-sheehan-edx merged commit e1300c3 into main Feb 8, 2024
4 checks passed
@alex-sheehan-edx alex-sheehan-edx deleted the mkeating/ENT-8298 branch February 8, 2024 22:05
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.

None yet

3 participants