Skip to content

Commit

Permalink
Still some issues related to linting
Browse files Browse the repository at this point in the history
Signed-off-by: ToWaIDS <[email protected]>
  • Loading branch information
tobias-watzel committed Feb 22, 2024
1 parent 9ae0f23 commit 833ee7f
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_convert_single_file_to_csv(converter):
mocked_read_excel: Mock = Mock()
path_destination_folder: Path = Path("destination_folder")

with patch("osc_extraction_utils.core_utils.pd.read_excel", mocked_read_excel):
with patch("osc_extraction_utils.converter.pd.read_excel", mocked_read_excel):
converter._convert_single_file_to_csv(Path("file.xlsx"))

mocked_read_excel.assert_called_once_with(Path("file.xlsx"), engine="openpyxl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
import pytest
import requests_mock
from _pytest.capture import CaptureFixture
from test_generate_text import prerequisites_generate_text

from osc_extraction_utils.paths import ProjectPaths
from osc_extraction_utils.router import Router
from osc_extraction_utils.s3_communication import S3Communication
from osc_extraction_utils.settings import MainSettings, S3Settings
from tests.test_osc_extraction_utils.test_generate_text import (
prerequisites_generate_text,
)


@pytest.fixture
Expand Down
File renamed without changes.

0 comments on commit 833ee7f

Please sign in to comment.