Skip to content

Commit b0d8bdc

Browse files
committed
Merge branch 'refactor-notifications' of https://github.com/CenterForOpenScience/osf.io into add-new-notifications-data-model
* 'refactor-notifications' of https://github.com/CenterForOpenScience/osf.io: # Conflicts: # conftest.py # tests/test_registrations/test_retractions.py
2 parents e3bc742 + 2dbcbf7 commit b0d8bdc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ def helpful_thing(self):
362362
"""
363363
yield from rolledback_transaction('function_transaction')
364364

365+
365366
@pytest.fixture
366367
def mock_gravy_valet_get_verified_links():
367368
"""This fixture is used to mock a GV request which is made during node's identifier update. More specifically, when

tests/test_registrations/test_retractions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ def test_POST_retraction_to_subproject_component_returns_HTTPError_BAD_REQUEST(s
753753

754754
@pytest.mark.enable_bookmark_creation
755755
@pytest.mark.usefixtures('mock_gravy_valet_get_verified_links')
756+
@mock.patch('website.mails.settings.USE_EMAIL', True)
757+
@mock.patch('website.mails.settings.USE_CELERY', False)
756758
class RegistrationRetractionViewsTestCase(OsfTestCase):
757759
def setUp(self):
758760
super().setUp()

0 commit comments

Comments
 (0)