def METHOD_NAME():
    from lemur.plugins.lemur_aws.iam import get_path_from_arn
    arn = "arn:aws:iam::123456789012:server-certificate/tttt2.netflixtest.net-NetflixInc-20150624-20150625"
    assert (
        get_path_from_arn(arn) == ""
    )
    arn = "arn:aws:iam::123456789012:server-certificate/cloudfront/tttt2.netflixtest.net-NetflixInc-20150624-20150625"
    assert (
        get_path_from_arn(arn) == "cloudfront"
    )
    arn = "arn:aws:iam::123456789012:server-certificate/cloudfront/2/tttt2.netflixtest.net-NetflixInc-20150624-20150625"
    assert (
        get_path_from_arn(arn) == "cloudfront/2"
    )
    arn = "arn:aws:acm:us-west-2:123456789012:server-certificate/tttt2.netflixtest.net-NetflixInc-20150624-20150625"
    assert (
        get_path_from_arn(arn) == ""
    )