Skip to content

Commit 0b5741d

Browse files
Clean up test_st_docgen_tc.py by removing unused code
Removed unused variables and logging for execution time.
1 parent c944258 commit 0b5741d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

archive-doc-gen/tests/e2e-test/tests/test_st_docgen_tc.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,7 +2505,6 @@ def test_bug_7571_removed_sections_not_returning(request, login_logout):
25052505

25062506
# Select 3 sections to remove from the initial list
25072507
sections_to_remove = []
2508-
25092508
if initial_count >= 3:
25102509
# Remove sections at positions 1, 2, and 3 (avoid removing first section for stability)
25112510
indices_to_remove = [1, 2, 3] if initial_count > 3 else list(range(1, initial_count))
@@ -2740,9 +2739,6 @@ def test_bug_9825_navigate_between_sections(request, login_logout):
27402739

27412740
page.wait_for_timeout(1000)
27422741

2743-
duration = time.time() - start
2744-
logger.info("Execution Time for Step 6: %.2fs", duration)
2745-
27462742
logger.info("\n" + "="*80)
27472743
logger.info("✅ TC 10157 Test Summary - Navigate between sections")
27482744
logger.info("="*80)
@@ -4226,4 +4222,4 @@ def test_bug_26031_validate_empty_spaces_chat_input(login_logout, request):
42264222
logger.info("Test TC 26031 - Empty/Spaces Chat Input Validation completed successfully")
42274223

42284224
finally:
4229-
logger.removeHandler(handler)
4225+
logger.removeHandler(handler)

0 commit comments

Comments
 (0)