Class e.c.t.t.TestResourceManager(ElisaTestCase):

Part of elisa.core.tests.test_resource_manager View In Hierarchy

No class docstring
Line # Kind Name Docs
60 Method setUp create the manager, create the test provider and register it
80 Method test_register_unregister Test that registering and unregistering a resource provider works as
111 Method test_get_known_uri_without_context Tests if all requests gets proxied to the given test component
134 Method test_put_parameters Test if specific parameters are passed correctly.
144 Method test_get_known_uri_with_models Tests if all requests gets proxied to the given test component
168 Method test_get_unknown_uri test if the manager raises the NoMatchingResourceProvider Exception in
176 Method test_nonexpresion_providers test sure that a resource provider without supported uri or set to an
209 Method test_broken_providers be sure that registering fails on a ResourceProvider that has a
224 Method test_malformed_parameters be sure that the manager fails when you call it with bad data
231 Method test_unregister_wrong_component Trying to unregister a component, that is not registered is bad
261 Method check_result internal method to check if the given result is the expected one
276 Method test_get_resource_provider_by_path Test that the get_resource_provider_by_path method works as expected.

Inherited from ElisaTestCase:

Line # Kind Name Docs
108 Method __init__ Undocumented
139 Method check_called Undocumented
125 Method _boot Undocumented
def setUp(self):
create the manager, create the test provider and register it
def test_register_unregister(self):
Test that registering and unregistering a resource provider works as expected.
def test_get_known_uri_without_context(self):
Tests if all requests gets proxied to the given test component
def test_put_parameters(self):
Test if specific parameters are passed correctly.
def test_get_known_uri_with_models(self):
Tests if all requests gets proxied to the given test component
def test_get_unknown_uri(self):
test if the manager raises the NoMatchingResourceProvider Exception in case the given URI can't get proceeded
def test_nonexpresion_providers(self):
test sure that a resource provider without supported uri or set to an empty string will get loaded but ignored when asking for a uri
def test_broken_providers(self):
be sure that registering fails on a ResourceProvider that has a corrupted supported_uri regular expression
def test_malformed_parameters(self):
be sure that the manager fails when you call it with bad data
def test_unregister_wrong_component(self):
Trying to unregister a component, that is not registered is bad coding. Make sure that it fails in such a case
def check_result(self, result, method, *args, **kw):
internal method to check if the given result is the expected one
def test_get_resource_provider_by_path(self):
Test that the get_resource_provider_by_path method works as expected.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.