Class e.p.f.t.t.TestFlickrResourceProvider(TestCase):

Part of elisa.plugins.flickr.tests.test_resource_provider View In Hierarchy

This test case tests the FlickrResourceProvider class.
Line # Kind Name Docs
54 Method get_cached_token Undocumented
57 Method setUp Undocumented
65 Method tearDown Undocumented
69 Method test_invalid_get_uri Test an invalid URI passed to the get method.
78 Method test_invalid_post_uri Test an invalid URI passed to the post method.
87 Method test_invalid_post_uri_2 Test an invalid URI passed to the post method.
96 Method test_api_call_echo Test a simple API call.
119 Method test_api_call_no_key Test a simple API call without providing an API key.
129 Method test_api_call_invalid_key Test a simple API call providing an invalid API key.
141 Method test_fill_response_model_1 Test that the response model is correctly filled when the response to
161 Method test_fill_response_model_2 Test that the response model is correctly filled when the response to
182 Method test_fill_response_model_3 Test that the response model is correctly filled when the response to
200 Method test_fill_response_model_4 Test that the response model is correctly filled when the response to
221 Method test_image_retrieval Test retrieving an image from its complete URL.
240 Method test_invalid_image_retrieval Test retrieving an image that does not exist.
251 Method test_multiple_images_retrieval Test concurrent retrieval of multiple images from the same farm.
272 Method test_multiple_images_retrieval_stress Stress test for concurrent retrieval of multiple images from the same
307 Method test_multiple_images_concurrent_retrieval Test concurrent retrieval of multiple images from different farms.
328 Method test_authenticated_api_call Test an authenticated call to the Flickr API.
344 Method test_upload_then_delete_photo Test uploading a photo to the user account, and then deleting it.
373 Method test_upload_fails Test a failing photo upload.
389 Method test_cancel_request_pipelined Test cancelling a request when the server supports request pipelining.
432 Method test_cancel_request_not_pipelined Test cancelling a request when the server does not support request
def get_cached_token(self):
Undocumented
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_invalid_get_uri(self):
Test an invalid URI passed to the get method.
def test_invalid_post_uri(self):
Test an invalid URI passed to the post method.
def test_invalid_post_uri_2(self):
Test an invalid URI passed to the post method.
def test_api_call_echo(self):
Test a simple API call.
def test_api_call_no_key(self):
Test a simple API call without providing an API key.
def test_api_call_invalid_key(self):
Test a simple API call providing an invalid API key.
def test_fill_response_model_1(self):
Test that the response model is correctly filled when the response to the query is a list of photos.
def test_fill_response_model_2(self):
Test that the response model is correctly filled when the response to the query is a photo.
def test_fill_response_model_3(self):
Test that the response model is correctly filled when the response to the query is a list of tags.
def test_fill_response_model_4(self):
Test that the response model is correctly filled when the response to the query is a list of sizes for a photo.
def test_image_retrieval(self):
Test retrieving an image from its complete URL.
def test_invalid_image_retrieval(self):
Test retrieving an image that does not exist.
def test_multiple_images_retrieval(self):
Test concurrent retrieval of multiple images from the same farm.
def test_multiple_images_retrieval_stress(self):
Stress test for concurrent retrieval of multiple images from the same farm.
def test_multiple_images_concurrent_retrieval(self):
Test concurrent retrieval of multiple images from different farms.
def test_authenticated_api_call(self):
Test an authenticated call to the Flickr API.
def test_upload_then_delete_photo(self):
Test uploading a photo to the user account, and then deleting it.
def test_upload_fails(self):
Test a failing photo upload.
def test_cancel_request_pipelined(self):
Test cancelling a request when the server supports request pipelining. That is the case of the Flickr API server.
def test_cancel_request_not_pipelined(self):
Test cancelling a request when the server does not support request pipelining. That is the case of the image servers.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.