Skip to content

Commit 3fd2d83

Browse files
fixed pylint issue
1 parent d7ba8ee commit 3fd2d83

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ContentProcessorAPI/app/application.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ async def dispatch(self, request: Request, call_next):
5151
span.set_attribute("enduser.id", user_id)
5252
return await call_next(request)
5353

54+
5455
logger = logging.getLogger(__name__)
5556

5657
# PyMongo emits a compatibility warning when it detects Azure Cosmos DB (Mongo API).

tests/e2e-test/pages/HomePageV2.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def validate_source_document_visible(self):
491491
logger.info("Starting Source Document pane validation...")
492492

493493
logger.info("Validating Source Document pane has content...")
494-
source_doc_pane = self.page.locator(
494+
self.page.locator(
495495
"//div[contains(text(),'Source Document')]/ancestor::div[1]/following-sibling::*"
496496
)
497497

@@ -1139,7 +1139,7 @@ def upload_files_with_mismatched_schemas(self):
11391139
"repair_estimate.pdf": "Auto Insurance Claim Form",
11401140
}
11411141

1142-
dialog = self.open_import_dialog_with_files()
1142+
self.open_import_dialog_with_files()
11431143

11441144
# Select mismatched schemas for each file
11451145
files = self.get_testdata_files()
@@ -1195,7 +1195,6 @@ def validate_schema_dropdown_after_file_removal(self):
11951195

11961196
# Try to remove the first file using the delete/remove button next to it
11971197
logger.info("Attempting to remove first file from the list...")
1198-
file_labels = dialog.locator("strong")
11991198
first_file_name = os.path.basename(files[0])
12001199

12011200
# Look for a delete/remove button near the first file entry

0 commit comments

Comments
 (0)