def METHOD_NAME(self):
    if TestMode.need_recordingfile(self.test_mode):
        cassette_name = "{0}.yaml".format(self.qualified_test_name)
        my_vcr = vcr.VCR(
            before_record_request=self._scrub_sensitive_request_info,
            before_record_response=self._scrub_sensitive_response_info,
            record_mode="none" if TestMode.is_playback(self.test_mode) else "all",
        )
        self.assertIsNotNone(self.working_folder)
        return my_vcr.use_cassette(
            os.path.join(self.working_folder, "recordings", cassette_name),
            filter_headers=["authorization"],
        )
    else:
        return self._nop_context_manager()