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(): 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
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