# Path: muranoagent/bunch.py
# class Bunch(dict):
#     def __getattr__(self, item):
#     def __setattr__(self, key, value):
#     def __delattr__(self, key):


import fixtures
from muranoagent import bunch


class ExPlanDownloableNoFiles(fixtures.Fixture):
    def setUp(self):
        super(ExPlanDownloableNoFiles, self).setUp()
        self.execution_plan = bunch.Bunch(
            ID='ID',
            FormatVersion='2.1.0',
            Scripts={
                'deploy': {
                    'EntryPoint': 'cookbook::recipe',
                    'Files': [
                        'https://github.com/tomcat.git',
                        {'java': 'https://github.com/java.git'}
                    ],
                    'Options': {
                        'captureStderr': True,
                        'captureStdout': True
                    },
                    'Type': 'Chef',
                    'Version': '1.0.0'
                }
            }
        )
        self.addCleanup(delattr, self, 'execution_plan')


class PuppetExPlanDownloable(fixtures.Fixture):
    def setUp(self):
        super(PuppetExPlanDownloable, self).setUp()

# Path: muranoagent/bunch.py
# class Bunch(dict):
#     def __getattr__(self, item):
#     def __setattr__(self, key, value):
#     def __delattr__(self, key):


# Path: muranoagent/tests/unit/execution_plan.py
import fixtures
from muranoagent import bunch



class ExPlanDownloableNoFiles(fixtures.Fixture):
    def setUp(self):
        super(ExPlanDownloableNoFiles, self).setUp()
        self.execution_plan = bunch.Bunch(
            ID='ID',
            FormatVersion='2.1.0',
            Scripts={
                'deploy': {
                    'EntryPoint': 'cookbook::recipe',
                    'Files': [
                        'https://github.com/tomcat.git',
                        {'java': 'https://github.com/java.git'}
                    ],
                    'Options': {
                        'captureStderr': True,
                        'captureStdout': True
                    },
                    'Type': 'Chef',
                    'Version': '1.0.0'
                }
            }
        )
        self.addCleanup(delattr, self, 'execution_plan')


class PuppetExPlanDownloable(fixtures.Fixture):
    def setUp(self):
        super(PuppetExPlanDownloable, self).setUp()

        self.execution_plan = bunch.Bunch(