From 7f5da549fb93d86ccfb993000234cc370bcace75 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:17:15 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_checks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_checks.py b/tests/test_checks.py index 3d2ba21ad..e1ab8eda5 100644 --- a/tests/test_checks.py +++ b/tests/test_checks.py @@ -1,5 +1,5 @@ from unittest.mock import patch -import django + from django.conf import settings from django.core.checks import Error, Warning, run_checks from django.test import SimpleTestCase, override_settings @@ -10,7 +10,6 @@ PATH_DOES_NOT_EXIST = os.path.join(settings.BASE_DIR, "tests", "invalid_static") - class ChecksTestCase(SimpleTestCase): @override_settings( MIDDLEWARE=[ @@ -253,7 +252,6 @@ def test_check_w007_invalid(self, mocked_guess_type): ], ) - def test_debug_toolbar_installed_when_running_tests(self): with self.settings(DEBUG=False): dt_settings.get_config()["IS_RUNNING_TESTS"] = False