diff options
| author | Hanioe2 <245803318+Hanioe2@users.noreply.github.com> | 2026-11-23 07:13:01 +0800 |
|---|---|---|
| committer | Hanioe2 <245803318+Hanioe2@users.noreply.github.com> | 2026-11-23 07:13:01 +0800 |
| commit | de16453976ba34a538e7249a63ca2aa2f85a36c9 (patch) | |
| tree | 9976091a2daf4f9ff7842fc1442e5d036a2eefd9 /tests/test_progress_dashboard.py | |
| parent | 9b04ba4c104d3373ad8b50a1ac3c99aa1c53667d (diff) | |
BUILD-1129: recognize the checkout directory before trailing log text
Diffstat (limited to 'tests/test_progress_dashboard.py')
| -rw-r--r-- | tests/test_progress_dashboard.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_progress_dashboard.py b/tests/test_progress_dashboard.py index 594d010ab..0c2cdbd41 100644 --- a/tests/test_progress_dashboard.py +++ b/tests/test_progress_dashboard.py | |||
| @@ -236,6 +236,7 @@ class Scrub(unittest.TestCase): | |||
| 236 | self.assertEqual(pd.scrub(f"Error: {path} line 3"), "Error: tools/text_tables.py line 3") | 236 | self.assertEqual(pd.scrub(f"Error: {path} line 3"), "Error: tools/text_tables.py line 3") |
| 237 | self.assertEqual(pd.scrub(f'File "{path}", line 3'), 'File "tools/text_tables.py", line 3') | 237 | self.assertEqual(pd.scrub(f'File "{path}", line 3'), 'File "tools/text_tables.py", line 3') |
| 238 | self.assertEqual(pd.scrub(f"Checkout: {checkout}"), "Checkout: .") | 238 | self.assertEqual(pd.scrub(f"Checkout: {checkout}"), "Checkout: .") |
| 239 | self.assertEqual(pd.scrub(f"Checkout {checkout} is ready"), "Checkout . is ready") | ||
| 239 | sibling = os.path.join(checkout + "x", f"{SENTINEL}.fssm") | 240 | sibling = os.path.join(checkout + "x", f"{SENTINEL}.fssm") |
| 240 | self.assertEqual(pd.scrub(f"Error: {sibling} line 3"), "Error: <path> line 3") | 241 | self.assertEqual(pd.scrub(f"Error: {sibling} line 3"), "Error: <path> line 3") |
| 241 | if os.name == "nt": | 242 | if os.name == "nt": |