Skip to content

Commit 52ce74a

Browse files
committed
Remove debug print statements from repository filtering tests
1 parent f47da75 commit 52ce74a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unittest/test_ignore_repositories.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_should_ignore_matching_repository(self, provider_name, provider_func, b
5151
"sender": {"login": "user"}
5252
}
5353
result = provider_func(body_func(body["repository"]["full_name"]))
54-
print(f"DEBUG: Provider={provider_name}, test_should_ignore_matching_repository, result={result}")
54+
# print(f"DEBUG: Provider={provider_name}, test_should_ignore_matching_repository, result={result}")
5555
assert result is False, f"{provider_name}: PR from ignored repository should be ignored (return False)"
5656

5757
@pytest.mark.parametrize("provider_name, provider_func, body_func", PROVIDERS)
@@ -63,7 +63,7 @@ def test_should_not_ignore_non_matching_repository(self, provider_name, provider
6363
"sender": {"login": "user"}
6464
}
6565
result = provider_func(body_func(body["repository"]["full_name"]))
66-
print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_non_matching_repository, result={result}")
66+
# print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_non_matching_repository, result={result}")
6767
assert result is True, f"{provider_name}: PR from non-ignored repository should not be ignored (return True)"
6868

6969
@pytest.mark.parametrize("provider_name, provider_func, body_func", PROVIDERS)
@@ -75,5 +75,5 @@ def test_should_not_ignore_when_config_empty(self, provider_name, provider_func,
7575
"sender": {"login": "user"}
7676
}
7777
result = provider_func(body_func(body["repository"]["full_name"]))
78-
print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_when_config_empty, result={result}")
78+
# print(f"DEBUG: Provider={provider_name}, test_should_not_ignore_when_config_empty, result={result}")
7979
assert result is True, f"{provider_name}: PR should not be ignored if ignore_repositories config is empty"

0 commit comments

Comments
 (0)