From 52ce74a31a5f83960e7f67ab019a473d9951d9f1 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Fri, 16 May 2025 17:25:10 +0300 Subject: [PATCH] Remove debug print statements from repository filtering tests --- tests/unittest/test_ignore_repositories.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unittest/test_ignore_repositories.py b/tests/unittest/test_ignore_repositories.py index b8b02009..e05447d5 100644 --- a/tests/unittest/test_ignore_repositories.py +++ b/tests/unittest/test_ignore_repositories.py @@ -51,7 +51,7 @@ class TestIgnoreRepositories: "sender": {"login": "user"} } result = provider_func(body_func(body["repository"]["full_name"])) - print(f"DEBUG: Provider={provider_name}, test_should_ignore_matching_repository, result={result}") + # print(f"DEBUG: Provider={provider_name}, test_should_ignore_matching_repository, result={result}") assert result is False, f"{provider_name}: PR from ignored repository should be ignored (return False)" @pytest.mark.parametrize("provider_name, provider_func, body_func", PROVIDERS) @@ -63,7 +63,7 @@ class TestIgnoreRepositories: "sender": {"login": "user"} } result = provider_func(body_func(body["repository"]["full_name"])) - print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_non_matching_repository, result={result}") + # print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_non_matching_repository, result={result}") assert result is True, f"{provider_name}: PR from non-ignored repository should not be ignored (return True)" @pytest.mark.parametrize("provider_name, provider_func, body_func", PROVIDERS) @@ -75,5 +75,5 @@ class TestIgnoreRepositories: "sender": {"login": "user"} } result = provider_func(body_func(body["repository"]["full_name"])) - print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_when_config_empty, result={result}") + # print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_when_config_empty, result={result}") assert result is True, f"{provider_name}: PR should not be ignored if ignore_repositories config is empty" \ No newline at end of file