Update EVENT_PATTERNS to handle debug logging

* Update EVENT_PATTERNS to handle debug logging
This commit is contained in:
abraunegg 2026-03-08 11:04:47 +11:00
commit c367b1f142

View file

@ -103,12 +103,29 @@ class TestCase0002SyncListValidation(E2ETestCase):
name = "sync_list validation"
description = "Validate sync_list behaviour across a scenario matrix"
EVENT_PATTERNS = [
("skip", re.compile(r"^Skipping path - excluded by sync_list config: (.+)$")),
("include_dir", re.compile(r"^Including path - included by sync_list config: (.+)$")),
("include_file", re.compile(r"^Including file - included by sync_list config: (.+)$")),
("upload_file", re.compile(r"^Uploading new file: (.+?) \.\.\.")),
("create_remote_dir", re.compile(r"^OneDrive Client requested to create this directory online: (.+)$")),
EVENT_PATTERNS = [
(
"skip",
re.compile(r"^(?:DEBUG:\s+)?Skipping path - excluded by sync_list config: (.+)$"),
),
(
"include_dir",
re.compile(r"^(?:DEBUG:\s+)?Including path - included by sync_list config: (.+)$"),
),
(
"include_file",
re.compile(r"^(?:DEBUG:\s+)?Including file - included by sync_list config: (.+)$"),
),
(
"upload_file",
re.compile(r"^(?:DEBUG:\s+)?Uploading new file: (.+?) \.\.\."),
),
(
"create_remote_dir",
re.compile(
r"^(?:DEBUG:\s+)?OneDrive Client requested to create this directory online: (.+)$"
),
),
]
def run(self, context: E2EContext) -> TestResult: