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 engines model #219

Merged
merged 5 commits into from
Oct 28, 2024
Merged

feat: add engines model #219

merged 5 commits into from
Oct 28, 2024

Conversation

johanseto
Copy link
Collaborator

@johanseto johanseto commented Sep 30, 2024

Description

add engines records model

Testing instructions

  • migrate
    image

  • check admin engines
    you could the util to modify engines
    image

2024-10-01_11-45

Additional information

jira story

@github-actions github-actions bot added test size/m m lines label labels Sep 30, 2024
@github-actions github-actions bot added size/l and removed size/m m lines label labels Oct 1, 2024
feat: add test utils

feat: add tests
@johanseto johanseto marked this pull request as ready for review October 1, 2024 16:52
@johanseto johanseto mentioned this pull request Oct 1, 2024
4 tasks
Comment on lines 77 to 78
rti_courses = models.JSONField(default=dict)
ead_courses = models.JSONField(default=dict)
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is the difference between ead_course and rti_courses? I know that rti includes a cdd request, but basically a rti request is cdd+ ead

do we need that course information ? why the course is so important ?

eox_nelp/pearson_vue/models.py Outdated Show resolved Hide resolved
eox_nelp/pearson_vue/models.py Outdated Show resolved Hide resolved
eox_nelp/pearson_vue/models.py Show resolved Hide resolved
eox_nelp/pearson_vue/models.py Show resolved Hide resolved
eox_nelp/pearson_vue/models.py Show resolved Hide resolved
Comment on lines 151 to 155
if action.lower() == 'rti':
return self.rti_courses

if action.lower() == 'ead':
return self.ead_courses
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm still confused about these courses

eox_nelp/pearson_vue/utils.py Outdated Show resolved Hide resolved
eox_nelp/pearson_vue/utils.py Outdated Show resolved Hide resolved
@johanseto
Copy link
Collaborator Author

@andrey-canon I unify the courses section for RTI and EAD.
image



def update_user_engines(user, action_type, course_id=None):
"""_summary_
Copy link
Collaborator

Choose a reason for hiding this comment

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

summary ?

@johanseto johanseto merged commit ddf0d26 into master Oct 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants