'Assert that if we skip configuration, then user will never have to force reset password'

@patch.dict('django.conf.settings.ADVANCED_SECURITY_CONFIG', {'MIN_DAYS_FOR_STAFF_ACCOUNTS_PASSWORD_RESETS': None})
@patch.dict('django.conf.settings.ADVANCED_SECURITY_CONFIG', {'MIN_DAYS_FOR_STUDENT_ACCOUNTS_PASSWORD_RESETS': None})
def test_no_forced_password_change(self):

    student = self._user_factory_with_history()
    staff = self._user_factory_with_history(is_staff=True)
    grandfathered_student = UserFactory()
    grandfathered_student.date_joined = timezone.now()
    self.assertFalse(PasswordHistory.should_user_reset_password_now(student))
    self.assertFalse(PasswordHistory.should_user_reset_password_now(staff))
    self.assertFalse(PasswordHistory.should_user_reset_password_now(grandfathered_student))
    staff_reset_time = (timezone.now() + timedelta(days=100))
    with freeze_time(staff_reset_time):
        self.assertFalse(PasswordHistory.should_user_reset_password_now(student))
        self.assertFalse(PasswordHistory.should_user_reset_password_now(grandfathered_student))
        self.assertFalse(PasswordHistory.should_user_reset_password_now(staff))
