# Path: oslo_utils/specs_matcher.py
# def _all_in(x, *y):
# def make_grammar():
# def match(cmp_value, spec):


from oslotest import base as test_base
from oslo_utils import specs_matcher
            value='13',
            req='<or> 11 <or> 12 <or>',
            matches=False)

    def test_specs_fails_with_op_or3(self):
        self._do_specs_matcher_test(
            value='13',
            req='<or> 11',
            matches=False)

    def test_specs_matches_with_op_le(self):
        self._do_specs_matcher_test(
            value='2',
            req='<= 10',
            matches=True)

    def test_specs_matches_with_op_le2(self):
        self._do_specs_matcher_test(
            value='10',
            req='<= 10',
            matches=True)

    def test_specs_fails_with_op_le(self):
        self._do_specs_matcher_test(
            value='3',
            req='<= 2',
            matches=False)

    def test_specs_matches_with_op_ge(self):
        self._do_specs_matcher_test(

# Path: oslo_utils/specs_matcher.py
# def _all_in(x, *y):
# def make_grammar():
# def match(cmp_value, spec):


# Path: oslo_utils/tests/test_specs_matcher.py
from oslotest import base as test_base
from oslo_utils import specs_matcher

            value='13',
            req='<or> 11 <or> 12 <or>',
            matches=False)

    def test_specs_fails_with_op_or3(self):
        self._do_specs_matcher_test(
            value='13',
            req='<or> 11',
            matches=False)

    def test_specs_matches_with_op_le(self):
        self._do_specs_matcher_test(
            value='2',
            req='<= 10',
            matches=True)

    def test_specs_matches_with_op_le2(self):
        self._do_specs_matcher_test(
            value='10',
            req='<= 10',
            matches=True)

    def test_specs_fails_with_op_le(self):
        self._do_specs_matcher_test(
            value='3',
            req='<= 2',
            matches=False)

    def test_specs_matches_with_op_ge(self):
        self._do_specs_matcher_test(

            value='3',