diff options
author | Roman Haritonov <reclosedev@gmail.com> | 2015-04-28 21:38:38 +0300 |
---|---|---|
committer | Roman Haritonov <reclosedev@gmail.com> | 2015-04-28 21:38:38 +0300 |
commit | de97f626cd8b5f237f5168af5ea13cd9be387334 (patch) | |
tree | 65b52266e74d3ba836c1f3bc3df425f4346336a7 | |
parent | 41f172ca2be3eb47e2df55ac7b1f1ec63566c16e (diff) | |
download | requests-cache-de97f626cd8b5f237f5168af5ea13cd9be387334.tar.gz |
Remove commented test
-rw-r--r-- | tests/test_cache.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/test_cache.py b/tests/test_cache.py index 1f62321..4eb64fd 100644 --- a/tests/test_cache.py +++ b/tests/test_cache.py @@ -69,26 +69,6 @@ class CacheTestCase(unittest.TestCase): with self.assertRaises(ValueError): CachedSession(CACHE_NAME, backend='nonexistent') -# def test_async_compatibility(self): -# try: -# import grequests -# except Exception: -# self.skipTest('gevent is not installed') -# n = 3 -# def long_running(): -# t = time.time() -# rs = [grequests.get(httpbin('delay/%s' % i)) for i in range(n + 1)] -# grequests.map(rs) -# return time.time() - t -# # cache it -# delta = long_running() -# self.assertGreaterEqual(delta, n) -# # fast from cache -# delta = 0 -# for i in range(n): -# delta += long_running() -# self.assertLessEqual(delta, 1) - def test_hooks(self): state = defaultdict(int) for hook in ('response',): # TODO it's only one hook here |