# Path: watcher_dashboard/api/watcher.py
# LOG = logging.getLogger(__name__)
# WATCHER_SERVICE = 'infra-optim'
# def watcherclient(request, password=None):
# def insert_watcher_policy_file():
#     def __init__(self, apiresource, request=None):
#     def create(cls, request, audit_template_uuid, audit_type, name=None,
#                auto_trigger=False, interval=None):
#     def list(cls, request, **filters):
#     def get(cls, request, audit_id):
#     def delete(cls, request, audit_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def create(cls, request, name, goal, strategy,
#                description, scope):
#     def patch(cls, request, audit_template_id, parameters):
#     def list(cls, request, **filters):
#     def get(cls, request, audit_template_id):
#     def delete(cls, request, audit_template_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, action_plan_id):
#     def delete(cls, request, action_plan_id):
#     def start(cls, request, action_plan_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, action_id):
#     def delete(cls, request, action_id):
#     def start(cls, request, action_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, goal):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, strategy):
#     def id(self):
#     def __init__(self, indicator):
# class Audit(base.APIDictWrapper):
# class AuditTemplate(base.APIDictWrapper):
# class ActionPlan(base.APIDictWrapper):
# class Action(base.APIDictWrapper):
# class Goal(base.APIDictWrapper):
# class Strategy(base.APIDictWrapper):
# class EfficacyIndicatorSpec(base.APIDictWrapper):
# class EfficacyIndicator(base.APIDictWrapper):
# 
# Path: watcher_dashboard/test/test_data/utils.py
# def load_test_data(load_onto=None):
#     def filter(self, filtered=None, **kwargs):
#         def get_match(obj):
#     def delete(self):
# class TestDataContainer(utils.TestDataContainer):


import copy
from watcher_dashboard.api import watcher
from watcher_dashboard.test.test_data import utils
             {"region": "RegionTwo",
              "adminURL": "http://admin.watcher2.example.com:9322",
              "internalURL": "http://int.watcher2.example.com:9322",
              "publicURL": "http://public.watcher2.example.com:9322"}]},
    )

    TEST.goals = utils.TestDataContainer()
    TEST.efficacy_specifications = utils.TestDataContainer()
    TEST.api_goals = utils.TestDataContainer()
    efficacy_specifications_dict1 = {'name': 'spec1'}
    efficacy_specifications_dict2 = {'name': 'spec2'}
    spec1 = watcher.EfficacyIndicatorSpec(efficacy_specifications_dict1)
    spec2 = watcher.EfficacyIndicatorSpec(efficacy_specifications_dict2)
    goal_dict1 = {
        'uuid': 'gggggggg-1111-1111-1111-gggggggggggg',
        'name': 'MINIMIZE_LICENSING_COST',
        'display_name': 'Dummy',
        'efficacy_specifications': spec1
    }
    goal_dict2 = {
        'uuid': 'gggggggg-2222-2222-2222-gggggggggggg',
        'name': 'SERVER_CONSOLIDATION',
        'display_name': 'Server consolidation',
        'efficacy_specifications': spec2
    }
    TEST.api_goals.add(goal_dict1)
    TEST.api_goals.add(goal_dict2)
    _goal_dict1 = copy.deepcopy(goal_dict1)
    _goal_dict2 = copy.deepcopy(goal_dict2)


# Path: watcher_dashboard/api/watcher.py
# LOG = logging.getLogger(__name__)
# WATCHER_SERVICE = 'infra-optim'
# def watcherclient(request, password=None):
# def insert_watcher_policy_file():
#     def __init__(self, apiresource, request=None):
#     def create(cls, request, audit_template_uuid, audit_type, name=None,
#                auto_trigger=False, interval=None):
#     def list(cls, request, **filters):
#     def get(cls, request, audit_id):
#     def delete(cls, request, audit_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def create(cls, request, name, goal, strategy,
#                description, scope):
#     def patch(cls, request, audit_template_id, parameters):
#     def list(cls, request, **filters):
#     def get(cls, request, audit_template_id):
#     def delete(cls, request, audit_template_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, action_plan_id):
#     def delete(cls, request, action_plan_id):
#     def start(cls, request, action_plan_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, action_id):
#     def delete(cls, request, action_id):
#     def start(cls, request, action_id):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, goal):
#     def id(self):
#     def __init__(self, apiresource, request=None):
#     def list(cls, request, **filters):
#     def get(cls, request, strategy):
#     def id(self):
#     def __init__(self, indicator):
# class Audit(base.APIDictWrapper):
# class AuditTemplate(base.APIDictWrapper):
# class ActionPlan(base.APIDictWrapper):
# class Action(base.APIDictWrapper):
# class Goal(base.APIDictWrapper):
# class Strategy(base.APIDictWrapper):
# class EfficacyIndicatorSpec(base.APIDictWrapper):
# class EfficacyIndicator(base.APIDictWrapper):
# 
# Path: watcher_dashboard/test/test_data/utils.py
# def load_test_data(load_onto=None):
#     def filter(self, filtered=None, **kwargs):
#         def get_match(obj):
#     def delete(self):
# class TestDataContainer(utils.TestDataContainer):


# Path: watcher_dashboard/test/test_data/watcher_data.py
import copy
from watcher_dashboard.api import watcher
from watcher_dashboard.test.test_data import utils

             {"region": "RegionTwo",
              "adminURL": "http://admin.watcher2.example.com:9322",
              "internalURL": "http://int.watcher2.example.com:9322",
              "publicURL": "http://public.watcher2.example.com:9322"}]},
    )

    TEST.goals = utils.TestDataContainer()
    TEST.efficacy_specifications = utils.TestDataContainer()
    TEST.api_goals = utils.TestDataContainer()
    efficacy_specifications_dict1 = {'name': 'spec1'}
    efficacy_specifications_dict2 = {'name': 'spec2'}
    spec1 = watcher.EfficacyIndicatorSpec(efficacy_specifications_dict1)
    spec2 = watcher.EfficacyIndicatorSpec(efficacy_specifications_dict2)
    goal_dict1 = {
        'uuid': 'gggggggg-1111-1111-1111-gggggggggggg',
        'name': 'MINIMIZE_LICENSING_COST',
        'display_name': 'Dummy',
        'efficacy_specifications': spec1
    }
    goal_dict2 = {
        'uuid': 'gggggggg-2222-2222-2222-gggggggggggg',
        'name': 'SERVER_CONSOLIDATION',
        'display_name': 'Server consolidation',
        'efficacy_specifications': spec2
    }
    TEST.api_goals.add(goal_dict1)
    TEST.api_goals.add(goal_dict2)
    _goal_dict1 = copy.deepcopy(goal_dict1)
    _goal_dict2 = copy.deepcopy(goal_dict2)


    TEST.strategies = utils.TestDataContainer()