style(tests): fix import ordering per ruff linter
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
"""Tests for app/utils/config_validator/validators.py module."""
|
"""Tests for app/utils/config_validator/validators.py module."""
|
||||||
|
|
||||||
|
from unittest.mock import patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from unittest.mock import Mock, patch
|
|
||||||
|
|
||||||
from app.utils.config_validator.validators import (
|
from app.utils.config_validator.validators import (
|
||||||
check_all_configs,
|
check_all_configs,
|
||||||
|
|||||||
@@ -384,9 +384,10 @@ class TestUniqueFilepathWithCounter:
|
|||||||
|
|
||||||
def test_get_unique_filepath_with_counter_extreme_collision(self, tmp_path):
|
def test_get_unique_filepath_with_counter_extreme_collision(self, tmp_path):
|
||||||
"""Test extreme edge case when more than 9999 collisions occur"""
|
"""Test extreme edge case when more than 9999 collisions occur"""
|
||||||
from app.utils.filename_utils import get_unique_filepath_with_counter
|
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
|
from app.utils.filename_utils import get_unique_filepath_with_counter
|
||||||
|
|
||||||
# Create base file to trigger counter logic
|
# Create base file to trigger counter logic
|
||||||
(tmp_path / "test.pdf").touch()
|
(tmp_path / "test.pdf").touch()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user