From 4b570e38dad4df315a750c38d13a1be7a045f888 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 31 Jul 2022 12:22:18 -0700 Subject: [PATCH] backups: tests: Mark need for Django database during API tests Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/backups/tests/test_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plinth/modules/backups/tests/test_api.py b/plinth/modules/backups/tests/test_api.py index 8ea170b7a..cdcd6fa7d 100644 --- a/plinth/modules/backups/tests/test_api.py +++ b/plinth/modules/backups/tests/test_api.py @@ -14,6 +14,7 @@ from .. import api, forms, repository from ..components import BackupRestore # pylint: disable=protected-access +pytestmark = pytest.mark.django_db def _get_test_manifest(name):