def test_sap_hana_data_volume_check(value_store_patch, item, params, expected_results): yielded_results = list( sap_hana_data_volume.check_sap_hana_data_volume( item, params, PARSED_SECTION)) assert yielded_results == expected_results
def test_sap_hana_data_volume_check(value_store_patch, item, params, expected_results): with value_store.context(CheckPluginName("sap_hana_data_volume"), None): yielded_results = list( sap_hana_data_volume.check_sap_hana_data_volume( item, params, PARSED_SECTION)) assert yielded_results == expected_results
def test_sap_hana_data_volume_check_stale(item, section): with pytest.raises(IgnoreResultsError): list(sap_hana_data_volume.check_sap_hana_data_volume( item, {}, section))