1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-28 06:59:14 +00:00

Remove unittest.main() (#12295)

Remove unittest.main().
This commit is contained in:
Felix Fontein 2026-06-20 08:26:40 +02:00 committed by GitHub
parent 91ae1afdf6
commit 75d3a78d6d
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()