-
Task
-
Resolution: Done
-
Normal
-
None
-
None
This port of hostmetering.configure_host_metering() will handle configuring host metering and will be in the post_conversion section of actions.
Acceptance Criteria
Action
1) An action ID and action dependencies are defined
2) An action class is created with the name being based on the functions purpose
3) A run() method is created to hold the contents of the function being converted to an action
4) Any logger critical calls (System Exits) are replaced with set_result() calls to create an error level result (ERROR, OVERRIDABLE) for reporting the logger.critical contents
5) Any relevant logger warning or logger info calls are replaced with add_message() calls to add to the list of reported messages for the report
Unit tests
6) Create a fixture that returns an instance of the action you are testing
7) Invoke the action and assert any results defined in the action using the assert_actions_result() method and any messages using issuperset() and issubset().
- links to
-
RHEA-2024:137944 convert2rhel bug fix update
-
RHEA-2024:137945 convert2rhel bug fix update
-
RHEA-2024:139804 convert2rhel bug fix and enhancemet update