validations_libs.tests.cli.test_history module

class validations_libs.tests.cli.test_history.TestGetHistory(methodName='runTest')[source]

Bases: validations_libs.tests.cli.fakes.BaseCommand

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_get_history(mock_logs)[source]
test_get_history_from_log_dir(mock_logs)[source]
test_get_history_full_arg(mock_logs)[source]
class validations_libs.tests.cli.test_history.TestListHistory(methodName='runTest')[source]

Bases: validations_libs.tests.cli.fakes.BaseCommand

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_list_history(mock_history)[source]
test_list_history_limit_with_config(mock_config, mock_history)[source]
test_list_history_limit_with_wrong_config(mock_config, mock_history)[source]