Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 11, 2024
1 parent e944857 commit 7f5da54
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_checks.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -10,7 +10,6 @@
PATH_DOES_NOT_EXIST = os.path.join(settings.BASE_DIR, "tests", "invalid_static")



class ChecksTestCase(SimpleTestCase):
@override_settings(
MIDDLEWARE=[
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7f5da54

Please sign in to comment.