# 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
            req='<all-in> txt 3dnow',
            matches=False)

    def test_specs_fails_match_one_with_op_allin(self):
        self._do_specs_matcher_test(
            value=str(['aes', 'mmx', 'aux']),
            req='<all-in> txt aes',
            matches=False)

    def test_specs_fails_match_substr_single(self):
        self._do_specs_matcher_test(
            value=str(['X_X']),
            req='<all-in> _',
            matches=False)

    def test_specs_fails_match_substr(self):
        self._do_specs_matcher_test(
            value=str(['X___X']),
            req='<all-in> ___',
            matches=False)

    def test_specs_fails_match_substr_reversed(self):
        self._do_specs_matcher_test(
            value=str(['aes', 'mmx', 'aux']),
            req='<all-in> XaesX',
            matches=False)

    def test_specs_fails_onechar_with_op_allin(self):
        self.assertRaises(
            TypeError,

# 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

            req='<all-in> txt 3dnow',
            matches=False)

    def test_specs_fails_match_one_with_op_allin(self):
        self._do_specs_matcher_test(
            value=str(['aes', 'mmx', 'aux']),
            req='<all-in> txt aes',
            matches=False)

    def test_specs_fails_match_substr_single(self):
        self._do_specs_matcher_test(
            value=str(['X_X']),
            req='<all-in> _',
            matches=False)

    def test_specs_fails_match_substr(self):
        self._do_specs_matcher_test(
            value=str(['X___X']),
            req='<all-in> ___',
            matches=False)

    def test_specs_fails_match_substr_reversed(self):
        self._do_specs_matcher_test(
            value=str(['aes', 'mmx', 'aux']),
            req='<all-in> XaesX',
            matches=False)

    def test_specs_fails_onechar_with_op_allin(self):
        self.assertRaises(
            TypeError,

            specs_matcher.match,