1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 09:35:34 +00:00

allow filtering by response

This commit is contained in:
Ivan Malison
2016-01-11 15:53:04 -08:00
parent 8a5bf23d34
commit 50246791e3
2 changed files with 17 additions and 0 deletions

View File

@@ -237,6 +237,8 @@ class Cassette(object):
if not request:
return
response = self._before_record_response(response)
if response is None:
return
self.data.append((request, response))
self.dirty = True