From a327224c115482696a6b6a8d0fb78c039073c397 Mon Sep 17 00:00:00 2001 From: Krystof Beuermann Date: Tue, 20 Feb 2024 16:48:28 +0100 Subject: [PATCH] Refactor test_storage.py to improve code organization and import statements --- tests/test_storage.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_storage.py b/tests/test_storage.py index b2f7425c..53387dbd 100644 --- a/tests/test_storage.py +++ b/tests/test_storage.py @@ -1,13 +1,13 @@ -from io import BytesIO import unittest +from io import BytesIO from unittest import mock import django +from django.core.files.base import File from django.core.files.storage import Storage -from django.test import TestCase +from django.test import TestCase, override_settings + from health_check.contrib.s3boto3_storage.backends import S3Boto3StorageHealthCheck -from django.test import override_settings -from django.core.files.base import File from health_check.exceptions import ServiceUnavailable from health_check.storage.backends import ( DefaultFileStorageHealthCheck,