Closed MaferMazu closed 2 years ago
@JuanDavidBuitrago , did you test this change with all test cases?
I ask because If you tested all, I think the PR is OK, but usually, when you delete try-except, the test fails if you don't have backends for tests. I tried to run the python-test (make python-test) in a venv with python38, and the output was: I thought it was weird because in github you have a check, but reviewing that test, I found: We are skipping tests.
I don't think this is the right PR to correct that, but we need to look at the nutmeg migration because I believe we are not testing well.
@JuanDavidBuitrago , did you test this change with all test cases?
I ask because If you tested all, I think the PR is OK, but usually, when you delete try-except, the test fails if you don't have backends for tests. I tried to run the python-test (make python-test) in a venv with python38, and the output was: I thought it was weird because in github you have a check, but reviewing that test, I found: We are skipping tests.
I don't think this is the right PR to correct that, but we need to look at the nutmeg migration because I believe we are not testing well.
Yes, I did test with all test cases. It's working well.
I think to adding test, we have to work on this in a specific sprint, there are so much files that need changes but not affect the plugin functionality. All test cases are working without any problem and I think that is enough for now while we plan to improve the test code.
Description
This PR remove try except from imports in backends and correct platform paths.
Modified Backends:
Testing instructions
Create a site. Go to http://lms.mango.edunext.link:8000/admin/site_configuration/siteconfiguration/ and add site configuration, add in site
+
Domain name: lms.mango.edunext.link:8000
. Enable checkbox and save.Add in https://github.com/eduNEXT/eox-core/blob/master/eox_core/api/task_dispatcher/v1/views.py#L26 the next code lines
Follow the steps in eox-core tests. Json file to use in postman
Complete the test cases from
2.6. TESTING APIs WITH A USER WITHOUT STAFF PRIVILEGES
. test cases fileChecklist for Merge