Exemplo n.º 1
0
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
    )
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
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)