Skip to content

Commit 5c0d601

Browse files
pylint issue fixed
1 parent 67e3933 commit 5c0d601

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/tests/ContentProcessorAPI/libs/test_cosmos_db_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def test_init_with_indexes(mock_certifi, mock_mongo_client):
211211
mock_db.__getitem__.return_value = mock_container
212212
mock_container.index_information.return_value = {}
213213

214-
helper = CosmosMongDBHelper(
214+
CosmosMongDBHelper(
215215
connection_string="mongodb://test",
216216
db_name="test_db",
217217
container_name="test_container",

src/tests/ContentProcessorAPI/libs/test_storage_blob_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_get_container_client_with_container_name_arg(mock_blob_service, mock_ge
235235
mock_container_client.exists.return_value = True
236236

237237
helper = StorageBlobHelper("https://test.blob.core.windows.net", "parent")
238-
result = helper._get_container_client("sub-folder")
238+
helper._get_container_client("sub-folder")
239239

240240
mock_service_client.get_container_client.assert_called_with("parent/sub-folder")
241241

src/tests/ContentProcessorWorkflow/libs/application/test_AppConfiguration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99

1010
def test_configuration_defaults():
1111
cfg = Configuration()
12-
assert cfg.app_logging_enable is False
12+
assert cfg.app_logging_level == "DEBUG"
1313
assert cfg.storage_queue_name == "processes-queue"

src/tests/ContentProcessorWorkflow/libs/application/test_application_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ def test_configuration_reads_alias_env_vars(monkeypatch) -> None:
2222

2323
def test_configuration_boolean_parsing(monkeypatch) -> None:
2424
# pydantic-settings parses common truthy strings.
25-
monkeypatch.setenv("APP_LOGGING_ENABLE", "true")
25+
monkeypatch.setenv("APP_RAI_ENABLED", "false")
2626
cfg = Configuration()
27-
assert cfg.app_logging_enable is True
27+
assert cfg.app_rai_enabled is False

0 commit comments

Comments
 (0)