Jillian Vogel
2173a98ef8
refactor: deprecates ModuleSystem properties for code sandboxing and cache
...
* Deprecates ModuleSystem can_execute_unsafe_code, get_python_lib_zip and cache properties
* Adds a new CacheService and SandboxService to provide the deprecated property
* Adds tests for the added CacheService and SandboxService
* Updates the ModuleSystemShim tests in Lms and Studio
2022-01-25 14:42:39 +10:30
Aarif
a1406cddf2
replaced unittest assertions pytest assertions ( #26528 )
2021-02-18 18:09:45 +05:00
Jawayria
b1ecfc2252
Applied pylint-amnesty to util
2021-02-02 14:59:19 +05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Jolyon Bloomfield
8adaca66d1
INCR-200 Migrate common/djangoapps/util/tests and migrations
2019-04-05 00:57:46 -04:00
noraiz-anwar
593c2d1ae8
add python getter in capa system
2018-07-18 18:44:56 +05:00
cahrens
6f71706b17
Remove SlashSeparatedCourseKey from tests.
2017-08-07 14:49:30 -04:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Brian Wilson
243e2660b0
Merge release to master for 20150317 release.
2015-03-18 18:48:56 -04:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Julia Hansbrough
6c46fb98ca
Compare stringified course_ids to regexes for courses allowed to execute unsafe code
2014-05-13 21:34:15 +00:00
Chris Dodge
fbe2cde6e5
add simple unit test on the defaulting of the settings
2013-07-11 14:31:53 -04:00
Chris Dodge
ccfc4fc012
remove extra line space at end of file
2013-07-03 13:46:32 -04:00
Chris Dodge
5088450ed3
add another unit test to explicitly exercise the can_execute_unsafe_code() method
2013-07-03 13:46:32 -04:00