# Path: stacker_blueprints/cloudwatch_logs.py
# class SubscriptionFilters(Blueprint):
# 
#     VARIABLES = {
#         "SubscriptionFilters": {
#             "type": TroposphereType(logs.SubscriptionFilter, many=True),
#             "description": "Subscription filters to create.",
#         }
#     }
# 
#     def create_template(self):
#         t = self.template
#         variables = self.get_variables()
# 
#         for _filter in variables["SubscriptionFilters"]:
#             t.add_resource(_filter)
#             t.add_output(
#                 Output(
#                     "%sName" % _filter.title,
#                     Value=Ref(_filter)
#                 )
#             )


import unittest
from stacker.blueprints.testutil import BlueprintTestCase
from stacker.context import Context
from stacker.config import Config
from stacker.variables import Variable
from stacker_blueprints.cloudwatch_logs import SubscriptionFilters
from troposphere import GetAtt, Ref





class TestSubscriptionFilters(BlueprintTestCase):
    def setUp(self):
        self.ctx = Context(config=Config({'namespace': 'test'}))

    def test_create_template(self):

# Path: stacker_blueprints/cloudwatch_logs.py
# class SubscriptionFilters(Blueprint):
# 
#     VARIABLES = {
#         "SubscriptionFilters": {
#             "type": TroposphereType(logs.SubscriptionFilter, many=True),
#             "description": "Subscription filters to create.",
#         }
#     }
# 
#     def create_template(self):
#         t = self.template
#         variables = self.get_variables()
# 
#         for _filter in variables["SubscriptionFilters"]:
#             t.add_resource(_filter)
#             t.add_output(
#                 Output(
#                     "%sName" % _filter.title,
#                     Value=Ref(_filter)
#                 )
#             )


# Path: tests/test_cloudwatch_logs.py
import unittest
from stacker.blueprints.testutil import BlueprintTestCase
from stacker.context import Context
from stacker.config import Config
from stacker.variables import Variable
from stacker_blueprints.cloudwatch_logs import SubscriptionFilters
from troposphere import GetAtt, Ref






class TestSubscriptionFilters(BlueprintTestCase):
    def setUp(self):
        self.ctx = Context(config=Config({'namespace': 'test'}))

    def test_create_template(self):

        blueprint = SubscriptionFilters(