1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-03 08:52:55 +00:00

[PR #11304/02b18593 backport][stable-12] Remove unittest.main() calls (#11305)

Remove unittest.main() calls (#11304)

Remove unittest.main() calls.

(cherry picked from commit 02b185932c)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2025-12-22 16:01:22 +01:00 committed by GitHub
parent 78625d1cd2
commit 824cb0e0a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 0 additions and 171 deletions

View file

@ -7,7 +7,6 @@ from __future__ import annotations
from contextlib import contextmanager
import unittest
from unittest.mock import patch
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import (
AnsibleExitJson,
@ -149,7 +148,3 @@ class TestKeycloakRealm(ModuleTestCase):
# Verify that the module's changed status matches what is expected
self.assertIs(exec_info.exception.args[0]["changed"], changed)
if __name__ == "__main__":
unittest.main()