def _get_mock_action_obj(self):
        """
        Return mock action object.

        Pack gets set to the system pack so the action doesn't require a separate virtualenv.
        """
        action = mock.Mock()
        action.ref = "dummy.action"
        action.pack = SYSTEM_PACK_NAME
        action.entry_point = "foo.py"
        action.runner_type = {"name": "python-script"}
        return action

        Return mock action object.

        Pack gets set to the system pack so the action doesn't require a separate virtualenv.
        
contrib/runners/python_runner/tests/unit/test_output_schema.py