def METHOD_NAME(self, process_iter):
    metrics_store_process = Process(
        102,
        "java",
        [
            "/usr/lib/jvm/java-8-oracle/bin/java",
            "-Xms2g",
            "-Xmx2g",
            "-Des.path.home=~/rally/metrics/",
            "org.elasticsearch.bootstrap.Elasticsearch",
        ],
    )
    random_python = Process(103, "python3", ["/some/django/app"])
    process_iter.return_value = [metrics_store_process, random_python]
    assert len(process.find_all_other_rally_processes()) == 0