Files
edx-platform/common/djangoapps/util
Feanil Patel 4f9fe59731 test: Fix date tests that rely on user preference.
The function under test by the StrftimeLocalizedHtmlTest checks the
timezone in the user preferences of the user making the request.  If we
don't explicitly set a request here, it will simply use the last Request
that `crum` cached in the thread local cache.  This broke now
that we sometimes set the crum request.user to an invalid user in other
tests.

This change ensures that we have a valid request for these tests as a
part of the setup of this test class.
2021-03-25 13:18:07 -04:00
..
2021-03-22 16:07:06 +05:00
2019-12-30 10:35:30 -05:00
2021-02-02 18:36:39 +05:00