Commit Graph

13 Commits

Author SHA1 Message Date
M. Zulqarnain
a664067323 refactor: pyupgrade in common/tests (#26725) 2021-03-09 18:03:34 +05:00
Jawayria
9e677960bf Applied pylint-amnesty to common/{lib, test, __init__.py} 2021-02-02 15:42:02 +05:00
Aarif
98af9ce418 remove useless-supression warnings 2020-05-01 19:42:15 +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
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
Ayub khan
39d90628f3 INCR-428 python3 compatbility 2019-07-12 12:46:20 +05:00
Matthew Piatetsky
9681ca36b8 fix unicode strings in common/ 2019-02-05 10:57:00 -05:00
Michael Roytman
90bcd273a0 add ConfigurationModelFixture for Studio Frontend Assets Page and add Bok Choy tests for Studio Frontend Assets Page 2018-02-28 10:48:27 -05:00
Clinton Blackburn
74f9858b77 Optimized all imports in common.test.acceptance
- Removed unused imports
- Ran isort to properly order/style imports
2017-05-28 00:59:22 -04:00
Jhony Avella
7ec552f409 Replacing relative imports by absolute imports for all files into common/test/acceptance/fixtures directory 2016-06-23 16:33:15 -05:00
Renzo Lucioni
182e34f893 Acceptance tests for program listing page
Includes a11y coverage. ECOM-3980.
2016-04-15 16:06:41 -04:00
Peter Fogg
eaf6be2a54 Fix up quality errors in config model API. 2015-10-28 14:33:11 -04:00
Peter Fogg
96b49759de Add fixture for setting config models from Bok Choy. 2015-10-28 14:33:11 -04:00