Feanil Patel
66e987997c
Revert "Revert "chore: remove bok-choy settings""
2023-11-01 13:41:37 -04:00
Robert Raposa
083ccbf09b
Revert "chore: remove bok-choy settings"
2023-10-31 15:27:44 -04:00
salman2013
65d3b1084b
chore: fix test cases
2023-10-03 00:11:23 +05:00
salman2013
d668af2fce
chore: fix comments, remove and add some code for karma
2023-10-02 16:04:33 +05:00
salman2013
42ca0ddec4
chore: remove bok choy settings
2023-09-27 10:58:37 +05:00
Braden MacDonald
9b9b88df52
chore: remove some usages of six (Python2 compat) ( #32554 )
...
* get rid of six.text_type(s)
* get rid of six.b()
* get rid of six.string_types
* get rid of six.PY2/six.PY3
* get rid of six.iteritems() and six.viewvalues()
2023-07-17 12:18:43 -07:00
0x29a
2779bd250f
refactor: xmodule/lti_module.py -> xmodule/lti_block.py
2022-12-19 17:48:49 +01:00
edX requirements bot
bb20b17428
Python Requirements Update ( #29516 )
...
* chore: Updating Python Requirements
* fix: fix pylint issues
Co-authored-by: Mohammad Ahtasham ul Hassan <mohammad.ahtasham@arbisoft.com >
2021-12-08 14:13:27 +05:00
Usama Sadiq
780a6f3c2d
Revert "chore: install codejail from pypi ( #29481 )" ( #29501 )
...
This reverts commit 21551095ac .
2021-12-02 22:19:15 +05:00
Mohammad Ahtasham ul Hassan
21551095ac
chore: install codejail from pypi ( #29481 )
...
* chore: install codejail from pypi
* chore: Updating Python Requirements
* chore: Updating Python Requirements
* fix: fixed failing tests
* fix: fixed pytest failures
* fix: fixed failing test bug
* Update mocks.py
Co-authored-by: edX requirements bot <testeng+edx-requirements-bot@edx.org >
2021-12-02 17:07:29 +05:00
Usama Sadiq
ab4c14afe3
fix: fix pylint warnings ( #29049 )
2021-10-20 16:28:18 +05:00
Usama Sadiq
484cd536e2
fix: Fixed new pylint warnings ( #28724 )
2021-09-23 17:54:04 +05:00
Usama Sadiq
4f4be6538a
BOM-2477: pylint warnings lint-amnesty ( #27585 )
2021-05-11 17:22:40 +05:00
Usama Sadiq
ea550c06a5
refactor: pyupgrade second iteration ( #27452 )
2021-05-10 13:47:33 +05:00
Awais Qureshi
51c9cc274a
BOM-2376
...
Run Pyupgrade on terrain
2021-02-25 11:32:47 +05:00
Awais Qureshi
ac5f543402
BOM-2376
...
Run Pyupgrade on terrain
2021-02-24 17:52:05 +05:00
Aarif
a1406cddf2
replaced unittest assertions pytest assertions ( #26528 )
2021-02-18 18:09:45 +05:00
Jawayria
fb6a62b753
Applied pylint-amnesty to terrain
2021-02-02 14:37:08 +05:00
Kyle McCormick
151bd13666
Use full names for common.djangoapps imports; warn when using old style ( #25477 )
...
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +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
Jeremy Bowman
e0a22db806
Fix Python 3 bug in LTI stub server BOM-1006 ( #22260 )
2019-11-08 08:42:56 -05:00
Jeremy Bowman
24cf5bbb84
Make discussion stub server URL handling deterministic BOM-994 ( #22180 )
2019-10-30 14:17:05 -04:00
Jeremy Bowman
e258fab1ea
Fix YouTube stub under Python 3 BOM-930 ( #22056 )
2019-10-17 10:43:04 -04:00
Awais Qureshi
c446964721
BOM-916
...
Fixed double decoding issue.
Fixed the mock.assertMethod. Dict keys were coming different order.
2019-10-11 18:24:28 +05:00
Jeremy Bowman
9c92bd96ed
Fix assertions failing under Python 3 BOM-668 ( #21978 )
2019-10-10 15:22:07 -04:00
Manjinder Singh
a315317315
Merge branch 'master' into msingh/python3_test_lti_stub_py
2019-10-09 08:51:15 -04:00
jinder1s
d025657942
review fixes
2019-10-09 08:49:25 -04:00
jinder1s
bd479292f7
quality fixes
2019-10-07 10:28:38 -04:00
jinder1s
93e11925ff
Removing decoding due to it being done in another place
2019-10-07 10:27:55 -04:00
jinder1s
cb8d2f8a74
removing pdb
2019-10-07 10:27:55 -04:00
jinder1s
11284039a5
unicode sandwich
2019-10-07 10:27:55 -04:00
aarif
69c73ce211
Updated the API to properly parse Query parameters to make it compatible with python 3
2019-10-01 15:28:11 +05:00
Jeremy Bowman
1b6e6634cb
Fix edxnotes stub tests BOM-633
2019-09-19 10:32:23 -04:00
Jeremy Bowman
5f2a6430fe
Fix YouTube stub responses
2019-09-18 13:56:11 -04:00
Ayub khan
8a95a8e520
BOM-95
...
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Jolyon Bloomfield
c3717cbf7f
INCR-201 Migrate common/djangoapps/terrain/stubs ( #20163 )
2019-04-24 17:03:21 -04:00
Michael Youngstrom
bfe10720c6
Remove lettuce infrastructure
2019-04-18 09:58:21 -04:00
cclauss
bb31716c97
Use ==/!= to compare str, bytes, and int literals
2019-03-19 21:40:06 +01:00
zrana
243145c706
Convereted lettuce tests into bokchoy for LTI Xblock
2019-02-21 13:31:27 +05:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
Diana Huang
18403d2382
Switch to using Pathways instead of CreditPathways.
2018-08-23 15:15:50 -04:00
Jeremy Bowman
17f54fbaff
TE-2525 Finish removing nose.tools usage
2018-08-07 21:39:02 -04:00
Cole Rogers
1c05308d4a
Add credit pathway caching
2018-08-01 10:18:10 -04:00
Calen Pennington
07a15c681f
Reapply the XBlock RequireJS -> Webpack changes
...
This reverts commit 105db2cf59 , reversing
changes made to 447457594f .
2018-06-27 22:27:07 -04:00
Eric Fischer
e72549cdbe
Revert "Merge pull request #18340 from cpennington/fix-studio-xblock-rendering"
...
This reverts commit 9a70ca78a5 , reversing
changes made to efd5b9abbd .
Hopefully fixes EDUCATOR-3053
2018-06-15 13:18:27 -04:00
Calen Pennington
be3c7e05c5
Reapply "Switch container factory to webpack"
...
This reverts commit 18d93b00ba .
2018-06-07 15:52:05 -04:00
Calen Pennington
18d93b00ba
Revert "Switch container factory to webpack"
2018-06-07 13:46:47 -04:00