@pytest.fixture(scope='session')
def dcos_launchpad(dcos_api_session):
 if ('AWS_STACK_NAME' not in os.environ):
  pytest.skip('Must use a AWS Cloudformation to run test')
 stack_name = os.environ['AWS_STACK_NAME']
 aws_region = os.environ['AWS_REGION']
 aws_access_key_id = os.environ['AWS_ACCESS_KEY_ID']
 aws_secret_access_key = os.environ['AWS_SECRET_ACCESS_KEY']
 bw = test_util.aws.BotoWrapper(aws_region, aws_access_key_id, aws_secret_access_key)
 return test_util.aws.DcosCfSimple(stack_name, bw)

@ pytest . fixture ( scope = 'session' ) def dcos_launchpad ( dcos_api_session ) : if ( 'AWS_STACK_NAME' not in os . environ ) : pytest . skip ( 'Must use a AWS Cloudformation to run test' ) stack_name = os . environ [ 'AWS_STACK_NAME' ] aws_region = os . environ [ 'AWS_REGION' ] aws_access_key_id = os . environ [ 'AWS_ACCESS_KEY_ID' ] aws_secret_access_key = os . environ [ 'AWS_SECRET_ACCESS_KEY' ] bw = test_util . aws . BotoWrapper ( aws_region , aws_access_key_id , aws_secret_access_key ) return test_util . aws . DcosCfSimple ( stack_name , bw )
interface for direct integration to dcos_launchpad hardware currently only supports aws cf with aws vpc coming soon .