Commit Graph

2179 Commits

Author SHA1 Message Date
aarif
d74324a2d8 updated the comparison operation to make comparison consistent (irrespective of the order of items)
changes made to allow non field dictionary comparisons as intended

changes made to fix failure on reading values for dictionaries

updated the comparison operation to make comparison consistent (irrespective of the order of items)

changes made to allow non field dictionary comparisons as intended

changes made to fix failure on reading values for dictionaries
2019-10-23 12:51:54 +05:00
Awais Qureshi
91e5ab93de Merge pull request #22073 from edx/awais786/accept_tests
Fixing python3 ordering issue in acceptance tests.
2019-10-21 17:15:53 +05:00
Aarif
75e2df1476 Merge pull request #22074 from edx/BOM-934
Fix: Bokchoy "TypeError: write() argument must be str, not bytes"
2019-10-21 17:00:48 +05:00
aarif
4e0684a363 updated the social link creation to send back social links sorted
reverted unnecessary changes

added pylint supression for quality error fix
2019-10-21 16:10:00 +05:00
aarif
8910a83ffd updated the csv writer for python 3
re arranged the imports to fix quality errors
2019-10-21 15:01:17 +05:00
Awais Qureshi
a22bcd5805 BOM-935
Fixing python3 ordering issue in acceptance tests.
2019-10-20 01:19:09 +05:00
Awais Qureshi
0c6c3a6f47 BOM-937
Open a file in read binary mode to avoid bytes issues.
2019-10-18 20:02:57 +05:00
Awais Qureshi
544959026a BOM-937
Open a file in read binary mode to avoid bytes issues.
2019-10-18 19:40:33 +05:00
Manjinder Singh
e4b30e7bf3 BOM-931: explicitly setting strings to unicode (#22064)
* explicitly setting strings to unicode
2019-10-17 15:32:58 -04:00
Calen Pennington
5734e79b5d Use absolute paths to upload files in more bokchoy tests 2019-10-04 10:10:11 -04:00
Stu Young
31859fb930 remove flaky test (#21871) 2019-10-03 09:57:50 -04:00
Calen Pennington
62300b922c Merge pull request #21897 from cpennington/absolute-path-bokchoy-uploads
Use absolute paths to upload files in video tests
2019-10-01 14:57:06 -04:00
Calen Pennington
8e0f90045a Use absolute paths to upload files in video tests 2019-10-01 13:04:58 -04:00
Stu Young
eeb3afd8cc remove flaky test (#21834) 2019-09-30 14:10:56 -04:00
Stu Young
50cd2ec409 remove flaky test (#21827) 2019-09-27 16:42:17 -04:00
Matt Hughes
6206ec80b7 Delete flaky test test_comment_deletion_as_student
This test has been flaky in the past; I turned up TNLARCHIVE-530 and
TNLARCHIVE-2147 in JIRA while verifying no one else had actually
gotten it.
2019-09-27 15:18:58 -04:00
Stu Young
55357f524e remove flaky test (#21822) 2019-09-27 14:49:30 -04:00
Dave St.Germain
ea3232feac TNL-6920 Component Editor Efficiency Improvements
* Enlarges component modal for easier editing
* Allows display name to be edited in place
* Improves markdown button labeling
* Moves markdown cheatsheet to the edit modal, for quick reference
2019-09-26 09:34:14 -04:00
Jeremy Bowman
23870802c6 Replace usage of UUID.get_hex() - BOM-672 2019-09-19 10:32:23 -04:00
Feanil Patel
a3d39eaeb6 JSON takes unicode as input.
In python2 there would be some auto coercion done so that the orginal
code here works but that's not the case in python 3.
2019-09-16 11:30:05 -04:00
Jillian Vogel
fb981bfbbe Aids styleability of CAPA checkbox and radio problems
by making CAPA <input> elements siblings of their <label>s, instead of children.

Also:

* Moves radio submitted status block down below the problem
  to match the checkbox problem status blocks.
* Marks submitted choicegroup answers with a class
2019-09-11 13:54:07 +09:30
Ayub khan
8a95a8e520 BOM-95
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Bill DeRusha
aebdf77f8e Revert "PROD-145: Added validation to discussion topic input in studio, testing 2" 2019-08-20 20:31:15 -04:00
David Ormsbee
9a1385585f Convert response bytes to str before JSON parsing. (#21375)
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
Feanil Patel
f5f875401a Fix some of the common test collection issues. (#21340)
* Remove old  performance tests that we haven't been running.

As far as I can tell, these tests to capture HAR files were created 5
years ago and not being run as a part of our suite?  They capture HAR
data that we do nothing with so even if they were running we should
remove them until we're ready to care about consuming this kind of
information.

* Update password test unicode string.
* Add ugettext translation helper function.
* Fix lambda syntax that is not valid in python 3.
* Fix ur raw strings which his not valid in python 3
* Use edx_six.get_gettext instead of ugettext.
* Fix a few other encoding issues.
* Don't use old form of sorted funciton.

This form which uses a 'cmp' method is not available in python 3.
2019-08-16 11:31:36 -04:00
DawoudSheraz
103a825d51 added DnD submission deadline acceptance tests 2019-08-16 09:50:56 +05:00
Manjinder Singh
65b858e3e7 Merge pull request #21209 from edx/msingh/discussion_topic_validation2
PROD-145: Added validation to discussion topic input in studio, testing 2
2019-08-15 19:53:17 -04:00
jinder1s
e7fb13a74f Added validation to discussion topic input in studio 2019-08-15 16:13:37 -04:00
David Ormsbee
b3614f3a00 Merge pull request #20954 from open-craft/symbolist/html-block
HtmlModule to HtmlBlock [SE-1089]
2019-08-01 11:36:23 -04:00
Ayub khan
fdd8652bb6 INCR-421 2019-07-30 12:23:10 +05:00
Calen Pennington
a8a1dffbbb Merge pull request #21211 from cpennington/correct-combine
Check the test-suite specific coverage file, and upload it earlier in…
2019-07-29 09:39:08 -04:00
Calen Pennington
82c49f0db9 Separate bokchoy coverage files by shard 2019-07-26 14:58:44 -04:00
Ayub
877168f72b Merge pull request #21081 from edx/INCR-420
INCR-420 python3 compatibility
2019-07-25 15:50:03 +05:00
Ayub
c5a4154400 Merge pull request #21098 from edx/INCR-428
INCR-428 python3 compatbility
2019-07-25 15:49:28 +05:00
Ayub
dc9f67c618 Merge pull request #21096 from edx/INCR-427
INCR-427 python3 compatibility
2019-07-25 14:50:38 +05:00
Aarif
5255799845 Merge pull request #21085 from edx/INCR-423
INCR-423 Python 3 compatibility
2019-07-25 14:34:21 +05:00
Usman Khalid
8dfc8e5fda Convert AboutModule, CourseInfoModule, HtmlModule and StaticTabModule to XBlocks. 2019-07-24 20:19:44 +05:00
Ayub khan
d5e9c130cd INCR-419 python3 compatibility 2019-07-16 16:08:49 +05:00
Ayub khan
ea8a197eb4 INCR-427 python3 compatibility 2019-07-16 16:02:21 +05:00
aarif
642e3b8bfc ran python-modernize and isort on files mentioned in INCR-422
changes made to comply with quality
2019-07-16 10:09:08 +00:00
Ayub khan
39d90628f3 INCR-428 python3 compatbility 2019-07-12 12:46:20 +05:00
aarif
0750f9a262 ran python-modernize and isort on files mentioned in INCR-423 2019-07-11 16:46:50 +05:00
Aarif
831be7d7e6 Merge pull request #20963 from mraarif/INCR-319
INCR-319 - python 3 compatibility
2019-07-09 12:03:24 +05:00
Ayub khan
9fb5c146e8 -python 3 compatibility 2019-07-08 20:02:10 +05:00
root
0f22c9ff9b python 3 compatibility 2019-07-08 12:16:46 +00:00
Feanil Patel
c5b86eb5c7 Merge pull request #20384 from open-craft/symbolist/video-xblock
VideoModule to VideoBlock [SE-602]
2019-06-27 16:23:00 -04:00
Jeremy Bowman
50a2641e1c Remove flaky problem reset tests (#20870) 2019-06-24 13:20:50 -04: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
msingh
403a04b9fa Removing flacky test from test_lms_problems.py 2019-06-20 09:25:40 -04:00
Matthew Piatetsky
aba836b517 Merge pull request #20674 from edx/REVEM-354
add discount banner to track selection and discount price to upgrade button
2019-06-07 11:35:34 -04:00