diff --git a/tests/unit/plugins/modules/test_logrotate.py b/tests/unit/plugins/modules/test_logrotate.py index f428e6eac7..c8055f98dd 100644 --- a/tests/unit/plugins/modules/test_logrotate.py +++ b/tests/unit/plugins/modules/test_logrotate.py @@ -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()