/usr/lib/python2.7/dist-packages/betamax/matchers/__init__.py is in python-betamax 0.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | matcher_registry = {}
from .base import BaseMatcher
from .body import BodyMatcher
from .digest_auth import DigestAuthMatcher
from .headers import HeadersMatcher
from .host import HostMatcher
from .method import MethodMatcher
from .path import PathMatcher
from .query import QueryMatcher
from .uri import URIMatcher
__all__ = ('BaseMatcher', 'BodyMatcher', 'DigestAuthMatcher',
'HeadersMatcher', 'HostMatcher', 'MethodMatcher', 'PathMatcher',
'QueryMatcher', 'URIMatcher')
_matchers = [BodyMatcher, DigestAuthMatcher, HeadersMatcher, HostMatcher,
MethodMatcher, PathMatcher, QueryMatcher, URIMatcher]
matcher_registry.update(dict((m.name, m()) for m in _matchers))
del _matchers
|