1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

replace cached() with mark_played / play_count

This commit is contained in:
Kevin McCarthy
2013-08-05 22:25:45 -10:00
parent 9b665fef27
commit fb2aa89445
6 changed files with 42 additions and 49 deletions

View File

@@ -31,4 +31,4 @@ class TestCassette(TestVCR):
# Make the same requests, and assert that we haven't served any more
# requests out of cache
urllib2.urlopen('http://httpbin.org/').read()
self.assertEqual(len(cass.cached()), 0)
self.assertEqual(cass.play_count, 0)