'Test that behavior is normal when this feature is not turned on'

@patch.dict('django.conf.settings.FEATURES', {'ADVANCED_SECURITY': False})
def test_disabled_feature(self):

    user = UserFactory()
    staff = AdminFactory()
    self.assertTrue(PasswordHistory.is_allowable_password_reuse(user, 'test'))
    self.assertTrue(PasswordHistory.is_allowable_password_reuse(staff, 'test'))
    self.assertFalse(PasswordHistory.should_user_reset_password_now(user))
    self.assertFalse(PasswordHistory.should_user_reset_password_now(staff))
