def test_figure_out_clusters_to_inspect_respects_the_user(): fake_args = mock.Mock() fake_args.clusters = "a,b,c" fake_all_clusters = ["a", "b", "c", "d"] assert ["a", "b", "c"] == metastatus.figure_out_clusters_to_inspect( fake_args, fake_all_clusters )
def test_figure_out_clusters_to_inspect_respects_the_user(): fake_args = mock.Mock() fake_args.clusters = 'a,b,c' fake_all_clusters = ['a', 'b', 'c', 'd'] assert ['a', 'b', 'c'] == metastatus.figure_out_clusters_to_inspect( fake_args, fake_all_clusters)
def test_figure_out_clusters_to_inspect_respects_the_user(): fake_args = mock.Mock() fake_args.clusters = 'a,b,c' fake_all_clusters = ['a', 'b', 'c', 'd'] assert ['a', 'b', 'c'] == metastatus.figure_out_clusters_to_inspect(fake_args, fake_all_clusters)