Skip to content

Commit b4fe95b

Browse files
committed
Update test assertions for PrettyTable format
Clean up test assertions
1 parent 286a57a commit b4fe95b

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

analyzer/tests/functional/analyze/test_analyze.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,7 @@ def test_reproducer_postprocesses_failures(self):
536536
# The key bug: with --generate-reproducer, postprocessing was skipped
537537
# so parse would show 0 processed files. After the fix, it should
538538
# show 1 processed file.
539-
# PrettyTable uses │ (U+2502) as column separator instead of ASCII |.
540-
self.assertIn(
541-
"Number of processed analyzer result files │ 1", out)
539+
self.assertIn("Number of processed analyzer result files │ 1", out)
542540

543541
shutil.rmtree(reproducer_dir)
544542

web/tests/functional/store/test_store.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,4 @@ def test_store_stats(self):
511511
_, out, _ = _call_cmd(store_cmd)
512512
# There are 9 individual reports, but only 6 unique.
513513
# The statistics should only print the unique ones.
514-
# PrettyTable uses │ (U+2502) as column separator and pads columns
515-
# with spaces, so we match flexibly with a regex.
516514
self.assertRegex(out, r"Number of analyzer reports\s+│\s+6\s+│")

0 commit comments

Comments
 (0)