OpenQuizz
Une application de gestion des contenus pédagogiques
TestRefResolver Class Reference
Inheritance diagram for TestRefResolver:
Collaboration diagram for TestRefResolver:

Public Member Functions

def setUp (self)
 
def test_it_does_not_retrieve_schema_urls_from_the_network (self)
 
def test_it_resolves_local_refs (self)
 
def test_it_resolves_local_refs_with_id (self)
 
def test_it_retrieves_stored_refs (self)
 
def test_it_retrieves_unstored_refs_via_requests (self)
 
def test_it_retrieves_unstored_refs_via_urlopen (self)
 
def test_it_retrieves_local_refs_via_urlopen (self)
 
def test_it_can_construct_a_base_uri_from_a_schema (self)
 
def test_it_can_construct_a_base_uri_from_a_schema_without_id (self)
 
def test_custom_uri_scheme_handlers (self)
 
def test_cache_remote_on (self)
 
def test_cache_remote_off (self)
 
def test_if_you_give_it_junk_you_get_a_resolution_error (self)
 
def test_helpful_error_message_on_failed_pop_scope (self)
 

Data Fields

 referrer
 
 store
 
 resolver
 

Static Public Attributes

 base_uri
 
 stored_uri
 
 stored_schema
 

Member Function Documentation

◆ setUp()

def setUp (   self)

◆ test_cache_remote_off()

def test_cache_remote_off (   self)

◆ test_cache_remote_on()

def test_cache_remote_on (   self)

◆ test_custom_uri_scheme_handlers()

def test_custom_uri_scheme_handlers (   self)

◆ test_helpful_error_message_on_failed_pop_scope()

def test_helpful_error_message_on_failed_pop_scope (   self)

◆ test_if_you_give_it_junk_you_get_a_resolution_error()

def test_if_you_give_it_junk_you_get_a_resolution_error (   self)

◆ test_it_can_construct_a_base_uri_from_a_schema()

def test_it_can_construct_a_base_uri_from_a_schema (   self)

◆ test_it_can_construct_a_base_uri_from_a_schema_without_id()

def test_it_can_construct_a_base_uri_from_a_schema_without_id (   self)

◆ test_it_does_not_retrieve_schema_urls_from_the_network()

def test_it_does_not_retrieve_schema_urls_from_the_network (   self)

◆ test_it_resolves_local_refs()

def test_it_resolves_local_refs (   self)

◆ test_it_resolves_local_refs_with_id()

def test_it_resolves_local_refs_with_id (   self)

◆ test_it_retrieves_local_refs_via_urlopen()

def test_it_retrieves_local_refs_via_urlopen (   self)

◆ test_it_retrieves_stored_refs()

def test_it_retrieves_stored_refs (   self)

◆ test_it_retrieves_unstored_refs_via_requests()

def test_it_retrieves_unstored_refs_via_requests (   self)

◆ test_it_retrieves_unstored_refs_via_urlopen()

def test_it_retrieves_unstored_refs_via_urlopen (   self)

Field Documentation

◆ base_uri

base_uri
static

◆ referrer

referrer

◆ resolver

resolver

◆ store

store

◆ stored_schema

stored_schema
static

◆ stored_uri

stored_uri
static

The documentation for this class was generated from the following file: