MCPcopy
hub / github.com/cool-RR/PySnooper / _check_content

Method _check_content

tests/utils.py:171–176  ·  view source on GitHub ↗
(self, content)

Source from the content-addressed store, hash-verified

169 )
170
171 def _check_content(self, content):
172 match = self._content_pattern.match(content)
173 if not match:
174 return False
175 name, value = match.groups()
176 return self._check_name(name) and self._check_value(value)
177
178 def _check_name(self, name):
179 if self.name is not None:

Callers

nothing calls this directly

Calls 3

_check_nameMethod · 0.95
_check_valueMethod · 0.95
matchMethod · 0.80

Tested by

no test coverage detected