I had to make this change so that the tests would pass.

Before my change, get_template('registration/password_reset_email.html') would throw an Exception when the test was run under CMS. With my change, a django admin template is returned. However, the test still should not be executed under CMS, as we don't have the proper methods set up in our URLS.py.

I ran this change by the author of this test (Jason Bau). My change also removes unused imports.