test-cases:
- name: Default Build Test # Deploy using all default options
  create:
    parameters:
      eula: true
    timeout: 30 # Deployment should complete in under 30 minutes
  resource_tests: # Tests to run on the resources themselves
    ssh_private_key: { get_output: ssh_priv_key } # Fetch from output-list of stack
    ssh_key_file: tmp/private_key # File to write with ssh_private_key
    tests:
    - check_login:
        script:
          commands:
            - command: '/bin/sleep 30'  # sleep to let magento fully initialize
            - command: "./test/script/magento_login.py"
              command_args:
                - { get_output: server_pub_ip }
                - { get_output: magento_domain }
                - { get_output: magento_admin_user }
                - { get_output: magento_admin_password }
    - magento_server:
        fabric:
          # Fabric environment settings to use while running envassert script
          # http://docs.fabfile.org/en/latest/usage/env.html
          env:
            user: root
            key_filename: tmp/private_key
            hosts: { get_output: server_pub_ip } # Fetch from output-list of stack
            tasks:
              - artifacts
              - check
            abort_on_prompts: True
            connection_attempts: 3
            disable_known_hosts: True
            use_ssh_config: True
            fabfile: test/fabric/magento.py # Path to envassert test
test-cases:
- name: Default Build Test # Deploy using all default options
  create:
    parameters:
      eula: true
      rackspace_user_name: { get_env: OS_USERNAME }
      rackspace_apikey: { get_env: RAX_API_KEY }
    timeout: 30 # Deployment should complete in under 30 minutes
  resource_tests: # Tests to run on the resources themselves
    ssh_private_key: { get_output: ssh_priv_key } # Fetch from output-list of stack
    ssh_key_file: tmp/private_key # File to write with ssh_private_key
    tests:
    - check_login:
        script:
          commands:
            - command: '/bin/sleep 30'  # sleep to let magento fully initialize
            - command: "./test/script/magento_login.py"
              command_args:
                - { get_output: server_pub_ip }
                - { get_output: magento_domain }
                - { get_output: magento_admin_user }
                - { get_output: magento_admin_password }
    - magento_server:
        fabric:
          # Fabric environment settings to use while running envassert script
          # http://docs.fabfile.org/en/latest/usage/env.html
          env:
            user: root
            key_filename: tmp/private_key
            hosts: { get_output: server_pub_ip } # Fetch from output-list of stack
            tasks:
              - artifacts
              - check
            abort_on_prompts: True
            connection_attempts: 3
            disable_known_hosts: True
            use_ssh_config: True
            fabfile: test/fabric/magento.py # Path to envassert test

Fix test create params for backup config
Fix test create params for backup config
