Only get program certs from credentials
Allow our utility function to filter out course certs when asking Credentials for a list of certificates. This way once we start handing back course certs, the LMS won't be surprised by assumptions about what the credentials service will give back.
Showing
- openedx/core/djangoapps/credentials/tests/factories.py 1 addition, 1 deletionopenedx/core/djangoapps/credentials/tests/factories.py
- openedx/core/djangoapps/credentials/tests/test_utils.py 14 additions, 0 deletionsopenedx/core/djangoapps/credentials/tests/test_utils.py
- openedx/core/djangoapps/credentials/utils.py 5 additions, 1 deletionopenedx/core/djangoapps/credentials/utils.py
- openedx/core/djangoapps/programs/tasks/v1/tasks.py 2 additions, 3 deletionsopenedx/core/djangoapps/programs/tasks/v1/tasks.py
- openedx/core/djangoapps/programs/tasks/v1/tests/test_tasks.py 1 addition, 1 deletion...edx/core/djangoapps/programs/tasks/v1/tests/test_tasks.py
- openedx/core/djangoapps/programs/utils.py 1 addition, 1 deletionopenedx/core/djangoapps/programs/utils.py
Loading
Please register or sign in to comment