schema_salad.tests.test_fetch ============================= .. py:module:: schema_salad.tests.test_fetch Classes ------- .. autoapisummary:: schema_salad.tests.test_fetch.testFetcher schema_salad.tests.test_fetch.CWLTestFetcher Functions --------- .. autoapisummary:: schema_salad.tests.test_fetch.test_fetcher schema_salad.tests.test_fetch.test_cache Module Contents --------------- .. py:class:: testFetcher(cache, session) Bases: :py:obj:`schema_salad.fetcher.Fetcher` .. autoapi-inheritance-diagram:: schema_salad.tests.test_fetch.testFetcher :parts: 1 Fetch resources from URIs. .. py:method:: fetch_text(url, content_types = None) Retrieve the given resource as a string. .. py:method:: check_exists(url) Check if the given resource exists. .. py:method:: urljoin(base, url) Construct a full (“absolute”) URL by combining a “base URL” with another URL. .. py:class:: CWLTestFetcher(cache, session) Bases: :py:obj:`schema_salad.fetcher.Fetcher` .. autoapi-inheritance-diagram:: schema_salad.tests.test_fetch.CWLTestFetcher :parts: 1 Fetch resources from URIs. .. py:method:: fetch_text(url, content_types = None) Retrieve the given resource as a string. .. py:method:: check_exists(url) Check if the given resource exists. .. py:method:: urljoin(base, url) Construct a full (“absolute”) URL by combining a “base URL” with another URL. .. py:function:: test_fetcher() .. py:function:: test_cache()