'Check that passed files with scripts are executed on created server.
The alternative scenario is the following:
1. Create a stack and pass files with scripts.
2. Check that all stack resources are created successfully.
3. Wait for all deployments.
4. Check that stack was created.
5. Check stack outputs.'

def test_server_software_config(self):

    parameters = {'key_name': self.keypair_name, 'flavor': self.conf.instance_type, 'image': self.conf.image_ref, 'network': self.net['id']}
    files = {'cfg1.sh': CFG1_SH, 'cfg3.pp': CFG3_PP}
    (env_files, env) = template_utils.process_environment_and_files(self.conf.boot_config_env)
    self.stack_identifier = self.launch_stack(template_name='test_server_software_config.yaml', parameters=parameters, files=dict((list(files.items()) + list(env_files.items()))), expected_status=None, environment=env)
    self.check_stack()
