Skip to content

Commit 519b710

Browse files
committed
mock mail for tests
1 parent bb1d1f5 commit 519b710

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/identifiers/test_datacite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def _assert_unordered_list_of_dicts_equal(actual_list_of_dicts, expected_list_of
2929

3030
@pytest.mark.django_db
3131
@pytest.mark.usefixtures('mock_gravy_valet_get_verified_links')
32+
@mock.patch('website.mails.settings.USE_EMAIL', False)
3233
class TestDataCiteClient:
3334

3435
@pytest.fixture()

0 commit comments

Comments
 (0)