class documentation
class TestIntersphinxCache: (source)
Tests for sphinx.IntersphinxCache
Method | send |
Return a function that patches requests.adapters.HTTPAdapter.send so that it returns the provided requests.Response . |
Method | test |
IntersphinxCache.get caches responses to the file system. |
Method | test_get |
IntersphinxCache.get returns None if an exception is raised while GETing a URL and logs the exception. |
Return a function that patches requests.adapters.HTTPAdapter.send
so that it returns the provided requests.Response
.
Parameters | |
monkeypatch:MonkeyPatch | Undocumented |
Returns | |
Callable[ | Undocumented |
IntersphinxCache.get
caches responses to the file system.
Parameters | |
tmpPath | Undocumented |
sendCallable[ | Undocumented |
IntersphinxCache.get
returns None
if an exception is raised while GETing a URL and logs the exception.
Parameters | |
caplog:CapLog | Undocumented |