diff --git a/swh/deposit/tests/loader/test_tasks.py b/swh/deposit/tests/loader/test_tasks.py --- a/swh/deposit/tests/loader/test_tasks.py +++ b/swh/deposit/tests/loader/test_tasks.py @@ -1,11 +1,14 @@ -# Copyright (C) 2018-2019 The Software Heritage developers +# Copyright (C) 2018-2020 The Software Heritage developers # See the AUTHORS file at the top-level directory of this distribution # License: GNU General Public License version 3, or any later version # See top-level LICENSE file for more information +import pytest + from unittest.mock import patch +@pytest.mark.db @patch("swh.deposit.loader.checker.DepositChecker.check") def test_deposit_check(checker, swh_config, swh_app, celery_session_worker): checker.return_value = {"status": "uneventful"}