示例#1
0
def test_get_random_identity_id():
    assert len(get_random_identity_id("us-west-2")) > 0
    assert len(get_random_identity_id("us-west-2").split(":")[1]) == 19
示例#2
0
def test_get_random_identity_id():
    identity_id = get_random_identity_id("us-west-2")
    region, id = identity_id.split(":")
    region.should.equal("us-west-2")
    UUID(id, version=4)  # Will throw an error if it's not a valid UUID
示例#3
0
def test_get_random_identity_id():
    assert len(get_random_identity_id('us-west-2')) > 0
    assert len(get_random_identity_id('us-west-2').split(':')[1]) == 19
def test_get_random_identity_id():
    assert len(get_random_identity_id('us-west-2')) > 0
    assert len(get_random_identity_id('us-west-2').split(':')[1]) == 19
示例#5
0
def test_get_random_identity_id():
    assert len(get_random_identity_id('us-west-2')) > 0
示例#6
0
def test_get_random_identity_id():
    assert len(get_random_identity_id('us-west-2')) > 0