# Path: pyeqs/dsl/match_all.py
# class MatchAll(dict):
# 
#     def __init__(self):
#         super(MatchAll, self).__init__()
#         self._build_dict()
# 
#     def _build_dict(self):
#         self["match_all"] = {}
# 
# 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 MatchAll
from tests.helpers import homogeneous
# -*- coding: utf-8 -*-
from __future__ import unicode_literals



def test_add_match_all():
    """
    Create Match All Block
    """
    # When add a match all filter
    t = MatchAll()

    # Then I see the appropriate JSON
    results = {
        "match_all": {}
    }


# Path: pyeqs/dsl/match_all.py
# class MatchAll(dict):
# 
#     def __init__(self):
#         super(MatchAll, self).__init__()
#         self._build_dict()
# 
#     def _build_dict(self):
#         self["match_all"] = {}
# 
# 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_match_all.py
from pyeqs.dsl import MatchAll
from tests.helpers import homogeneous

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



def test_add_match_all():
    """
    Create Match All Block
    """
    # When add a match all filter
    t = MatchAll()

    # Then I see the appropriate JSON
    results = {
        "match_all": {}
    }


    homogeneous(t, results)