Feanil Patel
e3851ab3d1
test: Update to reuse variables in more places.
...
Some of the places where we had explicit copies of the password were not
necessary so we referece the exsting TEST_PASSWORD variable where
possible.
2023-10-16 12:33:25 -04:00
Feanil Patel
64e91d4080
test: Update to an even longer password.
2023-10-12 10:31:13 -04:00
Feanil Patel
1e2ea85372
test: Update more tests that had short passwords.
2023-10-10 16:36:26 -04:00
Arunmozhi
d417a7561f
refactor: rename ItemFactory to BlockFactory
2023-01-23 14:47:47 +01:00
Michael Terry
b905de757b
test: more Old Mongo removal from tests
...
Convert more tests from MONGO_AMNESTY to SPLIT modulestores.
This is in preparation for just wholesale denying access to Old
Mongo, so I either converted tests to split or just deleted some
test variants that were Old Mongo specific. (e.g. ddt lines)
2022-02-11 14:50:30 -05:00
Michael Terry
cb1bb7fa64
test: switch default test store to the split store
...
It's long past time that the default test modulestore was Split,
instead of Old Mongo. This commit switches the default store and
fixes some tests that now fail:
- Tests that didn't expect MFE to be enabled (because we don't
enable MFE for Old Mongo) - opt out of MFE for those
- Tests that hardcoded old key string formats
- Lots of other random little differences
In many places, I didn't spend much time trying to figure out how to
properly fix the test, and instead just set the modulestore to Old
Mongo.
For those tests that I didn't spend time investigating, I've set
the modulestore to TEST_DATA_MONGO_AMNESTY_MODULESTORE - search for
that string to find further work.
2022-02-04 14:32:50 -05:00
Jawayria
4347c35072
chore: Applied lint-amnesty on openedx/tests
2021-12-06 14:01:53 +05:00
stvn
5dd8302d8b
refactor: Move GlobalStaffFactory helper to common/
2021-04-14 07:26:39 -07:00
Usama Sadiq
6a79d47589
refactor: Ran pyupgrade on openedx/{testing, tests}
2021-04-08 14:49:40 +05:00
Aarif
b58ea1f03c
replaced unittest assertions pytest assertions ( #26576 )
2021-02-22 16:18:51 +05:00
Awais Qureshi
7321e9e5eb
BOM-2338
...
Apply pylint-amnesty.
2021-02-08 17:42:01 +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
Awais Qureshi
f7adc71c44
BOM-924
...
Fixing TypeError, the JSON object must be str, not 'bytes'.
2019-10-15 12:11:24 +05:00
aliciaerwin
ddeb7c4204
INCR-237 Run python modernize on openedx/tests ( #20494 )
2019-05-24 15:46:18 -04:00
Michael Youngstrom
4bbd1dee0b
Remove shards from commonlib-unit tests
2019-02-12 14:28:35 -05:00
Jeremy Bowman
c290bf8a07
TE-2524 Stop using nose.plugins - openedx
2018-08-02 14:54:50 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
Jeremy Bowman
103c723c6d
PLAT-1801 Preserve new user login behavior under Django 1.10+
2017-12-05 10:20:25 -05:00
bmedx
5fbbf4979a
Tag LMS Unit 1 tests that fail in Django 1.11
2017-11-22 15:46:45 -05:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Nimisha Asthagiri
15d9883f76
Create core/url_utils.py, moving utilities from lms_xblock/runtime
2016-10-06 21:59:11 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
solashirai
512167485d
quality fixes
2016-03-26 18:02:33 -04:00
solashirai
38752a777b
modified to resemble test_recommender
2016-03-26 18:02:33 -04:00
solashirai
b7b1d43e0e
Added basic docstrings
2016-03-26 18:02:33 -04:00
solashirai
052655016b
added crowdsourcehinter
2016-03-26 18:02:33 -04:00