Beispiel #1
0
def test_deployments_to_clusters():
    deployments = ["A.main", "A.canary", "B.main", "C.othermain.dev"]
    expected = {"A", "B", "C"}
    actual = info.deployments_to_clusters(deployments)
    assert actual == expected
Beispiel #2
0
def test_deployments_to_clusters():
    deployments = ['A.main', 'A.canary', 'B.main', 'C.othermain']
    expected = set(['A', 'B', 'C'])
    actual = info.deployments_to_clusters(deployments)
    assert actual == expected
Beispiel #3
0
def test_deployments_to_clusters():
    deployments = ['A.main', 'A.canary', 'B.main', 'C.othermain']
    expected = {'A', 'B', 'C'}
    actual = info.deployments_to_clusters(deployments)
    assert actual == expected
Beispiel #4
0
def test_deployments_to_clusters():
    deployments = ["A.main", "A.canary", "B.main", "C.othermain"]
    expected = set(["A", "B", "C"])
    actual = info.deployments_to_clusters(deployments)
    assert actual == expected