schema_salad.tests.test_fetch
Classes
Fetch resources from URIs. |
|
Fetch resources from URIs. |
Functions
Module Contents
- class schema_salad.tests.test_fetch.testFetcher(cache, session)
Bases:
schema_salad.fetcher.Fetcher
Fetch resources from URIs.
- Parameters:
cache (schema_salad.utils.CacheType)
session (Optional[requests.sessions.Session])
- fetch_text(url, content_types=None)
Retrieve the given resource as a string.
- class schema_salad.tests.test_fetch.CWLTestFetcher(cache, session)
Bases:
schema_salad.fetcher.Fetcher
Fetch resources from URIs.
- Parameters:
cache (schema_salad.utils.CacheType)
session (Optional[requests.sessions.Session])
- fetch_text(url, content_types=None)
Retrieve the given resource as a string.
- schema_salad.tests.test_fetch.test_fetcher()
- Return type:
None
- schema_salad.tests.test_fetch.test_cache()
- Return type:
None