From 63a0d6e142418ee428783ee93a13511075555d44 Mon Sep 17 00:00:00 2001 From: Yuhuai Liu Date: Thu, 26 Mar 2026 01:44:14 -0400 Subject: [PATCH] fix tests --- scripts/tests/test_populate_new_and_noteworthy.py | 2 +- website/profile/views.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/tests/test_populate_new_and_noteworthy.py b/scripts/tests/test_populate_new_and_noteworthy.py index 227f8d4a24a..dbe183930f4 100644 --- a/scripts/tests/test_populate_new_and_noteworthy.py +++ b/scripts/tests/test_populate_new_and_noteworthy.py @@ -17,7 +17,7 @@ def setUp(self): super().setUp() self.new_and_noteworthy_links_node = ProjectFactory() - self.new_and_noteworthy_links_node._id = TEST_NEW_AND_NOTEWORTHY_GUID + self.new_and_noteworthy_links_node._id = NEW_AND_NOTEWORTHY_LINKS_NODE self.new_and_noteworthy_links_node.save() self.nn1 = ProjectFactory(is_public=True, title='Noteworthy Project Alpha') diff --git a/website/profile/views.py b/website/profile/views.py index fed09aa84da..a08a586742e 100644 --- a/website/profile/views.py +++ b/website/profile/views.py @@ -25,7 +25,6 @@ from framework.status import push_status_message from framework.utils import throttle_period_expired -from osf import features from osf.models import ApiOAuth2Application, ApiOAuth2PersonalToken, OSFUser, NotificationTypeEnum from osf.exceptions import BlockedEmailError, OSFError from osf.utils.requests import string_type_request_headers