1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-08 11:39:02 +00:00

[PR #12295/75d3a78d backport][stable-13] Remove unittest.main() (#12297)

Remove unittest.main() (#12295)

Remove unittest.main().

(cherry picked from commit 75d3a78d6d)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2026-06-20 08:43:56 +02:00 committed by GitHub
parent b3976a7230
commit 3d4125505b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -945,7 +945,3 @@ class TestLogrotateConfig(unittest.TestCase):
self.mock_module.run_command.assert_called_once()
call_args = self.mock_module.run_command.call_args[0][0]
self.assertEqual(call_args[0], test_logrotate_path)
if __name__ == "__main__":
unittest.main()