def test_environment_setup_aws(self):
        options = BenchmarkOptions()
        options.parseOptions([])
        cluster = get_cluster(options, self.environ)
        self.assertEqual(
            cluster.control_node_address(),
            IPAddress(_ENV_CONTROL_SERVICE_ADDRESS)
        )
Uses environment variables for cluster configuration if option missing.
dataset/ETHPy150Open ClusterHQ/flocker/benchmark/test/test_script.py/ClusterConfigurationTests.test_environment_setup_aws