def test_report_bogus_filters_with_filter(): filters = ['bogus1', 'cluster1'] deployed_clusters = ['cluster1', 'cluster2', 'cluster3'] actual = report_bogus_filters(filters, deployed_clusters) assert 'bogus1' in actual assert 'Warning' in actual
def test_report_bogus_filters_nofilter(): deployed_clusters = ['cluster1', 'cluster2', 'cluster3'] actual = report_bogus_filters(None, deployed_clusters) assert actual == ''