tests package

Submodules

tests.test_help module

Module responsible for test the help menu content
tests.test_help.test_check_advisor_help_menu()

Responsible for test the advisor help menu

tests.test_help.test_check_ansible_help_menu()

Responsible for test the advisor help menu

tests.test_help.test_check_endpoint_help_menu()

Responsible for test the endpoint help menu

tests.test_help.test_check_get_help_menu()

Responsible for test the get help menu

tests.test_help.test_check_inventory_help_menu()

Responsible for test the inventory help menu

tests.test_help.test_check_login_help_menu()

Responsible for test the login help menu

tests.test_help.test_check_main_help_menu()

Responsible for test the main help menu

tests.test_help.test_check_patch_help_menu()

Responsible for test the patch help menu

tests.test_help.test_check_swatch_help_menu()

Responsible for test the subscription help menu

tests.test_help.test_check_ts_help_menu()

Responsible for test the ts help menu

tests.test_help.test_check_vulnerability_help_menu()

Responsible for test the patch help menu

tests.test_report module

Test to check the Inventory Report
tests.test_report.calling_csv_report_inventory()

Function responsible to read the template data and push against the function.

tests.test_report.test_csv_report_inventory_counting_number_of_columns()

Testing the csv_report_inventory feature. Here we are passing the input file, generating the output and counting the # of fields of each row

tests.test_report.test_csv_report_inventory_counting_number_of_rows()

Testing the # of rows, which should be the # of elements in the sample + 1 of header

Module contents