MCPcopy Create free account
hub / github.com/Azure/azure-storage-python / _scrub_sensitive_request_info

Method _scrub_sensitive_request_info

tests/testcase.py:290–295  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

288 return _nop_context_manager()
289
290 def _scrub_sensitive_request_info(self, request):
291 if not TestMode.is_playback(self.test_mode):
292 request.uri = self._scrub(request.uri)
293 if request.body is not None:
294 request.body = self._scrub(request.body)
295 return request
296
297 def _scrub_sensitive_response_info(self, response):
298 if not TestMode.is_playback(self.test_mode):

Callers

nothing calls this directly

Calls 2

_scrubMethod · 0.95
is_playbackMethod · 0.45

Tested by

no test coverage detected