Awais Qureshi
eee826ca4b
BOM-814
...
String comparsion within in raw html were causing tests failures in python3.
The function parses the string and converts into dictionary.
2019-10-09 15:43:18 +05:00
Ayub
ea8a10e9d8
Merge pull request #21953 from edx/BOM-808
...
BOM-808 struct is not defined
2019-10-09 15:02:18 +05:00
Ayub khan
d1eb51bd71
BOM-808 struct is not defined
...
python3 list comprehension variables are not accessible after comprehension
2019-10-09 12:53:12 +05:00
Aarif
4c9aa43c2f
Merge pull request #21924 from edx/BOM-813
...
Updated the comparison operation to fix None comparison with an integer - BOM-813
2019-10-09 12:07:13 +05:00
Feanil Patel
92e06d52a6
Delete items by their asset_key instead of _id.
...
The _id comes back as a dict and it's in the wrong order compared to the
dict stored in mongo. This results in lookups for deletion failing when
we use the '_id' as the lookup key.
Luckily the delete function also takes the asset_key as a valid key to
delete by so we just use that instead.
2019-10-08 15:26:52 -04:00
Feanil Patel
9610aab0f8
Fix more cms contentstore tests.
2019-10-08 15:26:52 -04:00
Ayub
7537283048
Merge pull request #21935 from edx/BOM-capa-random-python3-combatibility
...
BOM Project Capa Module Python3 Compatibility
2019-10-08 11:11:02 +05:00
Feanil Patel
847758a7da
Merge pull request #21938 from edx/feanil/fix_contentstore_tests
...
Feanil/fix contentstore views tests
2019-10-07 16:21:42 -04:00
Feanil Patel
5a9a5ba918
Catch another place where we were passing in byte data into transcript conversion module.
2019-10-07 13:49:25 -04:00
Feanil Patel
66382961a7
Fix all transcript related tests.
...
Treat transcript content as unicode strings and convert them at any edge
where we encounter them. One decision made here was to not update
edx-val it treats transcripts as byte but is much closer to the actual
files so it makes more sense over there. But within the platform they
are generally passed around as serialized json and so it's much better
for them to be unicode.
2019-10-07 13:49:25 -04:00
Jeremy Bowman
71e9c85dca
Fix capa problem i18n BOM-775 ( #21832 )
2019-10-07 11:19:49 -04:00
Ayub khan
bb242c4b22
BOM Project Capa Module Python3 Compatibility
...
Python3 RNG produces different results as compared to python2
In capa problems we save seed value and generate random state
using the seed. Python3 random generates a different state as
compared to python2. Thats why using random2 library to make
state genration consistent in both python versions.
2019-10-07 16:39:47 +05:00
Aarif
9a8f0cee1d
Merge pull request #21894 from edx/BOM-802
...
Updated the comparison operation to calculate MongoDB's connection version - BOM-802
2019-10-07 12:22:30 +05:00
aarif
af20d0f7d2
Updated the comparison operation to fix None comparison with integer
2019-10-03 15:52:52 +05:00
Ayub khan
277afeb85e
BOM-788
...
python3 compatibility: etree returns a bytes type string so in py3 we need to decode it
to compare with a unicode string
2019-10-03 15:26:36 +05:00
Feanil Patel
cf989502a1
Merge pull request #21830 from edx/jmbowman/BOM-774
...
Fix deprecated drag and drop grading BOM-774
2019-10-02 10:58:10 -04:00
aarif
c7a05ecf77
Updated the comparison operation to properly calculate mongo connection version
...
minor changes made to fix quality issues
changes made as suggested
removed unused import statement
2019-10-02 13:41:19 +05:00
Ayub
27aa7e4abf
Merge pull request #21806 from edx/BOM-609
...
BOM-609
2019-10-01 12:10:38 +05:00
Ayub khan
b5dc95a30d
BOM-609
...
python3 compatibility
2019-10-01 11:33:37 +05:00
Ayub khan
c29b7520a1
BOM-850
...
python3 compatibility
2019-10-01 10:56:00 +05:00
Ayub
2de3667c85
Merge pull request #21804 from edx/BOM-613
...
BOM-613
2019-10-01 10:41:31 +05:00
Ayub
58b43cafd0
Merge pull request #21850 from edx/BOM-806
...
BOM-806
2019-10-01 10:38:53 +05:00
Ayub
c02678a2d0
Merge pull request #21851 from edx/BOM-812
...
BOM-812
2019-10-01 10:37:48 +05:00
Ayub
ac3718055a
Merge pull request #21855 from edx/BOM-842
...
BOM-842
2019-10-01 10:37:15 +05:00
Ayub
42b6aa977c
Merge pull request #21857 from edx/BOM-807
...
BOM-807
2019-10-01 10:36:39 +05:00
Ayub
cb926b65af
Merge pull request #21858 from edx/BOM-823
...
BOM-823
2019-10-01 10:35:49 +05:00
Ayub khan
9dc5866464
BOM-823
...
python3 compatibility
2019-09-30 16:12:32 +05:00
Ayub khan
3ae2e44af4
BOM-807
...
python3 compatibility
2019-09-30 16:04:00 +05:00
Ayub khan
73a453d3c2
BOM-842
2019-09-30 15:59:36 +05:00
Ayub khan
b83d6adb5a
BOM-812
...
python3 compatibility
2019-09-30 15:20:20 +05:00
Ayub khan
c56de3d37d
BOM-806
...
python3 compatibility
2019-09-30 15:11:07 +05:00
Aarif
e7dadeb26c
Merge pull request #21818 from edx/BOM-748
...
BOM-748
2019-09-30 13:00:43 +05:00
Ayub khan
a21604afdb
BOM-613
...
Made all tests py3 compatible.
2019-09-30 12:07:49 +05:00
Ayub
12140e5b78
Merge pull request #21784 from edx/BOM-608
...
BOM-608
2019-09-30 10:34:58 +05:00
Feanil Patel
b26d1050a5
Merge pull request #21825 from edx/feanil/fix_error_validation
...
Explicitly set the test string to unicode.
2019-09-27 15:55:01 -04:00
Jeremy Bowman
e93b3a9a31
Fix deprecated drag and drop grading BOM-774
2019-09-27 15:29:04 -04:00
Feanil Patel
07df64eb8c
Fix the rest of these.
2019-09-27 14:36:40 -04:00
Feanil Patel
16cce5f389
BOM-843 Fix reraise call.
2019-09-27 14:19:40 -04:00
Feanil Patel
a4447da5e0
Explicitly set the test string to unicode.
2019-09-27 14:06:49 -04:00
aarif
4e0ca7c381
python 3 fixes
2019-09-27 18:43:46 +05:00
Awais Jibran
007dfa5c55
Merge pull request #21750 from edx/aj/prevent-unicode-error
...
Prevent unicode error
2019-09-27 13:25:10 +05:00
Ayub
290caa4c8e
Merge pull request #21788 from edx/BOM-612
...
BOM-612
2019-09-27 09:44:44 +05:00
Jeremy Bowman
1e3d6f6db3
Fix parsing of Unicode capa XML BOM-611 ( #21803 )
2019-09-26 16:34:35 -04:00
Feanil Patel
a847620e88
Merge pull request #21797 from edx/feanil/fix_xmodule_format_failure
...
Division changed in python3 to produce floats even when you divide tw…
2019-09-26 15:49:25 -04:00
Ned Batchelder
b3845b2b96
Merge pull request #21581 from edx/nedbat/fix-courseware-warning
...
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 14:25:27 -04:00
Jeremy Bowman
4babc5ee1c
Fix CorruptGridFile in Python 3 tests BOM-375 ( #21794 )
2019-09-26 13:43:26 -04:00
Feanil Patel
093e5a543a
Division changed in python3 to produce floats even when you divide two ints.
2019-09-26 13:23:15 -04:00
Manjinder Singh
61015ad840
Merge pull request #21779 from edx/msingh/python3_test_shuffle_custom_names
...
BOM-614: AssertionError: Lists differ Fix.
2019-09-26 13:13:53 -04:00
Dave St.Germain
26026782b0
Merge pull request #21538 from edx/dcs/component-tweaks
...
Studio Component Editor Tweaks
2019-09-26 10:05:23 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00