Skip to content

Commit 69b4d9f

Browse files
authored
chore: add log message when quarantine could not be setup (#180)
Related to MRGFY-5846
1 parent 3acbe82 commit 69b4d9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pytest_mergify/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ def pytest_terminal_summary(
6363
yellow=True,
6464
)
6565

66-
if (
66+
if self.mergify_ci.quarantined_tests is None:
67+
terminalreporter.write_line("CI Insights Quarantine could not be setup")
68+
elif (
6769
self.mergify_ci.quarantined_tests is not None
6870
and self.mergify_ci.quarantined_tests.init_error_msg
6971
):

0 commit comments

Comments
 (0)