Usama Sadiq
82406e970a
reafctor: ran pyupgrade on lms/djangoapps/courseware ( #26739 )
2021-03-12 14:43:44 +05:00
Aarif
0112339b20
replaced unittest assertions pytest assertions ( #26543 )
2021-02-19 11:58:27 +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
Usman Khalid
0b27c62ca6
Convert VideoModule to VideoBlock.
...
Some deprecated functionality has been removed:
- Reading data field and transforms being applied in the init() method.
- The source field.
- The source_visible attribute.
2019-06-20 22:12:39 +05:00
alangsto
4a1346b068
INCR-265 Run python-modernize on lms/djangoapps/courseware/management and lms/djangoapps/courseware/tests ( #20716 )
...
* updated files according to INCR-265
* fixed docstring and line-length problems from quality test
* Revert "fixed docstring and line-length problems from quality test"
This reverts commit d050f55a4ecfaa38f46b80ec4bb85ff399a79a8c.
* fixed errors reported in quality report
* had error, fixed it
* reversed change
* fixed over/under indentation, and added line to import.py that Ned had suggested
* tried disabling pylint for this line
* testing new email
* testing email in different window
* re-added symlink and docstring
2019-05-31 14:07:18 -04:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Jeremy Bowman
4e8668d3be
TE-2524 Stop using nose.plugins - LMS 2
2018-08-01 13:54:06 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Christine Lytwynec
ddb1ae667e
Split lms unittests into multiple shards
2015-05-07 09:17:26 -04:00
Ned Batchelder
7d799e34f3
Remove unused imports
2015-03-17 07:10:31 -04:00
Sarina Canelake
7229ef92ee
s/pylint: disable=W0212/pylint: disable=protected-access/
2014-12-01 11:22:12 -05:00
Julia Hansbrough
6ccb11f03e
Change Location, CourseLocator, etc to reference opaque-keys library
2014-05-30 20:32:38 +00:00
Calen Pennington
4af2249a9d
Remove dead code
2014-05-21 14:28:04 -04:00
Alexander Kryklia
25407ef3e7
BLD-642: Allow multiple transcripts with video.
2014-02-24 21:57:08 +02:00
polesye
1d74838698
BLD-237: Persist speed preferences between videos.
2014-01-23 20:54:40 +02:00
polesye
645007f910
BLD-364: Merge "video sources" and "download video" fields.
2014-01-23 11:27:28 +02:00
polesye
4a36fa892b
BLD-368: Turn "download transcript" into a dropdown.
2014-01-22 18:25:03 +02:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
Alexander Kryklia
0da81e2a56
Update IsoTIme to be timedelta and update tests.
2013-10-23 13:03:55 +03:00
Calen Pennington
658810a94f
Use xblock render shortcuts
2013-10-08 15:58:23 -04:00
Calen Pennington
6b474724ac
Make XModuleDescriptor and XModule act as a single class
...
By transparently proxying between the XModuleDescriptor and the XModule,
and between their runtimes, we can make them act as a single class, so
that we can swap in an actual XBlock instead.
2013-10-08 15:29:17 -04:00
jmclaus
7af892e66a
Disabled video autoplay for students
2013-09-20 14:04:57 +02:00
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Anton Stupak
a09e610403
Fix multiple video bug
2013-09-03 18:49:46 +03:00
Anton Stupak
7a68516d12
Fix formatting.
2013-08-19 10:39:52 +03:00
Vasyl Nakvasiuk
b33b5c7bd4
Python: videoalpha -> video.
2013-08-12 14:31:48 +03:00
Calen Pennington
438ac3b1a4
Move video xmodule tests to xmodule directory
2013-06-17 13:38:29 -04:00
Vasyl Nakvasiuk
d0e3f99e77
BaseTestXmodule: create module on the fly
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
45e32107e7
video module: remove old methods
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
68716f99cc
video module: _get_timeframe -> get_timeframe
2013-06-06 16:46:47 +03:00
Vasyl Nakvasiuk
b25710346f
add python video tests
2013-06-06 16:46:28 +03:00