-
Notifications
You must be signed in to change notification settings - Fork 0
Run TestSafeOrNot:test_cant_do_something_forbidden
in Tutor
#156
Comments
edx-platform:TestSafeOrNot:test_cant_do_something_forbidden
TestSafeOrNot:test_cant_do_something_forbidden
in Tutor
TestSafeOrNot:test_cant_do_something_forbidden
in Tutoredx-platformTestSafeOrNot:test_cant_do_something_forbidden
in Tutor
edx-platformTestSafeOrNot:test_cant_do_something_forbidden
in Tutoredx-platform:TestSafeOrNot:test_cant_do_something_forbidden
in Tutor
edx-platform:TestSafeOrNot:test_cant_do_something_forbidden
in Tutoredx-platform:TestSafeOrNot:test_cant_do_something_forbidden
in Tutor
edx-platform:TestSafeOrNot:test_cant_do_something_forbidden
in TutorTestSafeOrNot:test_cant_do_something_forbidden
in Tutor
@kdmccormick I am working on this issue and here is what i have found |
@solababs Looking into this issue I see that you can use the plugin tutor-contrib-codejail plugin to enable codejail. Does enabling that plugin allow the test to run? Does it pass? If so, I personally feel this issue can be closed since the test can pass on tutor. |
@xitij2000 Thanks for your help on this. I have been able to adequately implement tutor-contrib-codejail and the the test passed on tutor. |
Can you create a PR againt edx-platform that changes the condition in which the test is considered skipped? The test should run if tutor is configured with the codejail service. |
@xitij2000 please see linked PR openedx/edx-platform#32955 |
Background
In #155 we cataloged whether each edx-platform test fails, passes, or is skipped in both Devstack and Tutor Nightly (using edx-platform master, in Jan 2023).
This one test passes in Devstack but is skipped in Tutor:
edx-platform:xmodule/capa/safe_exec/tests/test_safe_exec.py::TestSafeOrNot::test_cant_do_something_forbidden
Tasks
Fix the test or Tutor so that running:
in Tutor Nightly passes.
(test running instructions came from here: https://docs.tutor.overhang.io/dev.html#running-edx-platform-unit-tests)
Notes
safe_exec calls out to Codejail. So, this is likely the result of some Codejail configuration, or related environment setup, that Devstack has but Tutor does not.
The test can ran in Devstack with:
The text was updated successfully, but these errors were encountered: