# Path: pyeqs/dsl/type.py
# class Type(dict):
# 
#     def __init__(self, type_name):
#         super(Type, self).__init__()
#         self.type_name = type_name
#         self["type"] = self._build_dict()
# 
#     def _build_dict(self):
#         return {
#             "value": self.type_name
#         }
# 
# Path: tests/helpers.py
# def homogeneous(a, b):
#     json.dumps(a, sort_keys=True).should.equal(json.dumps(b, sort_keys=True))


from pyeqs.dsl import Type
from tests.helpers import homogeneous
# -*- coding: utf-8 -*-
from __future__ import unicode_literals



def test_add_type():
    """
    Create Type Block
    """
    # When add a Type Block

# Path: pyeqs/dsl/type.py
# class Type(dict):
# 
#     def __init__(self, type_name):
#         super(Type, self).__init__()
#         self.type_name = type_name
#         self["type"] = self._build_dict()
# 
#     def _build_dict(self):
#         return {
#             "value": self.type_name
#         }
# 
# Path: tests/helpers.py
# def homogeneous(a, b):
#     json.dumps(a, sort_keys=True).should.equal(json.dumps(b, sort_keys=True))


# Path: tests/unit/test_type.py
from pyeqs.dsl import Type
from tests.helpers import homogeneous

# -*- coding: utf-8 -*-
from __future__ import unicode_literals



def test_add_type():
    """
    Create Type Block
    """
    # When add a Type Block

    t = Type("foo")