Commit Graph

22 Commits

Author SHA1 Message Date
M. Zulqarnain
a664067323 refactor: pyupgrade in common/tests (#26725) 2021-03-09 18:03:34 +05:00
Jawayria
3296619b7b Merge pull request #26534 from edx/jawayria/bom-2351-7
BOM-2351: Removed unused imports from common/test
2021-02-26 16:19:37 +05:00
Aarif
874436b720 replaced unittest assertions pytest assertions (#26539) 2021-02-18 19:13:12 +05:00
Jawayria
62ca4742c1 BOM-2351: Removed unused imports from common/test 2021-02-15 19:30:40 +05:00
Jawayria
9e677960bf Applied pylint-amnesty to common/{lib, test, __init__.py} 2021-02-02 15:42:02 +05:00
usamasadiq
dbfec8ee3c Remove nonrequired conditions 2021-02-01 16:30:47 +05:00
Awais Qureshi
220cab965f BOM-1126
Removing the moto from repo.
2020-01-15 22:34:13 +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
624455c89a Use deprecated s3 mock from moto.
Longer term we should move to boto3 in general and then we can use the
default moto mock for s3.
2019-08-02 13:42:02 -04:00
Ayub
cf74aee8ff Merge pull request #21099 from edx/INCR-429
INCR-429 python3 compatibility
2019-07-30 12:07:28 +05:00
Stu Young
10d583fe4e add pytest decorator for skipping py3 test (#21151)
* add pytest decorator for skipping py3 test

* quality
2019-07-17 12:09:01 -04:00
Ayub khan
9cb5274e91 INCR-429 python3 compatibility 2019-07-12 12:50:59 +05:00
Ned Batchelder
7d964b12db Context managers need to clean up properly
An @contextmanager will raise an exception from its yield statement if
an exception happens in the with-block that uses it.  If the context
manager needs to do clean up, it should do it even if an exception is
raised, so it needs to be done in a finally clause.
2019-04-17 13:14:48 -04:00
Matthew Piatetsky
9681ca36b8 fix unicode strings in common/ 2019-02-05 10:57:00 -05:00
Jeremy Bowman
3ff3eee2f2 TE-2689 Remove useless pylint suppressions part 4 2018-08-20 12:54:22 -04:00
Jeremy Bowman
fd6af6b05e ddt usage cleanup 2017-09-05 17:25:51 -04:00
Andy Armstrong
93235d118d Reorder imports using isort (except lms and cms) 2017-05-30 16:04:54 -04:00
Omar Khan
2faab97eea Add OpenStack Swift support
Refactor all S3 code to use the django storage API and add swift
settings for openstack deployments
2016-07-05 17:31:59 +03:00
Mushtaq Ali
8f76f3385a Fix enrollment message 2016-01-20 15:59:27 +05:00
Bill DeRusha
24a41dc59e Improve teams test run times by skipping signals
TNL-3126

add **kwargs to skip_signal method
2015-08-27 16:08:54 -04:00
Peter Fogg
38fb6eaede Add signals for user's discussion activity.
These signals are caught by the Teams app and used to update
`last_activity_at` on both teams and individual users.

TNL-2497
2015-08-26 12:07:54 -04:00
Bill DeRusha
973314de7b Add basic elasticsearch search for teams
TNL-3014

Add tests for search

Add text_search to TeamsListView

Add reindex command line tool for course teams

Add Search Pagination and update comments

Move paginate_search_results to common library
2015-08-24 09:22:06 -04:00