'Tests password reset confirmation page for site configuration override.'

@patch('student.views.password_reset_confirm')
@patch('openedx.core.djangoapps.site_configuration.helpers.get_value', fake_get_value)
def test_reset_password_good_token_configuration_override(self, reset_confirm):

    url = reverse('password_reset_confirm', kwargs={'uidb36': self.uidb36, 'token': self.token})
    good_reset_req = self.request_factory.get(url)
    password_reset_confirm_wrapper(good_reset_req, self.uidb36, self.token)
    confirm_kwargs = reset_confirm.call_args[1]
    self.assertEquals(confirm_kwargs['extra_context']['platform_name'], 'Fake    University')
    self.user = User.objects.get(pk=self.user.pk)
    self.assertTrue(self.user.is_active)
