validations_common.tests.library.test_check_package_update module¶
- class validations_common.tests.library.test_check_package_update.TestCheckUpdate(*args: Any, **kwargs: Any)[source]¶
Bases:
TestCase
- test_get_installed_pkgs_success()[source]¶
Test that _get_installed_pkgs will correctly process output of rpm, compare it with provided package name list and return dictionary of PackageDetails.
- test_returns_current_and_available_versions(mock_command, mock_get_installed, mock_get_new_pkg_info)[source]¶