51Degrees Pipeline for Python

tests.test_datafile_update_http.CallbackTests Class Reference

Inheritance diagram for tests.test_datafile_update_http.CallbackTests:

[legend]

Collaboration diagram for tests.test_datafile_update_http.CallbackTests:

[legend]

Public Member Functions

 fail_first (self)
 errors (self)
 testACallbackErrorOnPollingIsLoggedAndStopsTheCallbacks (self)
 testACallbackErrorOnAProgrammaticCheckIsLoggedAndStopsTheCallbacks (self)
 testACallbackErrorOnAnUpdateFromMemoryIsLoggedAndStopsTheCallbacks (self)
 testAConnectionFailureKeepsPolling (self)

Public Member Functions inherited from tests.test_datafile_update_http.UpdateServiceTestCase

 setUp (self)
 get (self, reply)
 hold_timers (self)

Static Public Attributes

tuple UNHANDLED

Additional Inherited Members

Public Attributes inherited from tests.test_datafile_update_http.UpdateServiceTestCase

 pipeline = RecordingPipeline()
 service = DataFileUpdateService(self.pipeline)
list statuses = []
 data_file = HttpDataFile()
list pending = []
list sent = []

Member Function Documentation

◆ errors()

tests.test_datafile_update_http.CallbackTests.errors ( self)

◆ fail_first()

tests.test_datafile_update_http.CallbackTests.fail_first ( self)

◆ testACallbackErrorOnAnUpdateFromMemoryIsLoggedAndStopsTheCallbacks()

tests.test_datafile_update_http.CallbackTests.testACallbackErrorOnAnUpdateFromMemoryIsLoggedAndStopsTheCallbacks ( self)

◆ testACallbackErrorOnAProgrammaticCheckIsLoggedAndStopsTheCallbacks()

tests.test_datafile_update_http.CallbackTests.testACallbackErrorOnAProgrammaticCheckIsLoggedAndStopsTheCallbacks ( self)

◆ testACallbackErrorOnPollingIsLoggedAndStopsTheCallbacks()

tests.test_datafile_update_http.CallbackTests.testACallbackErrorOnPollingIsLoggedAndStopsTheCallbacks ( self)

◆ testAConnectionFailureKeepsPolling()

tests.test_datafile_update_http.CallbackTests.testAConnectionFailureKeepsPolling ( self)

Member Data Documentation

◆ UNHANDLED

tuple tests.test_datafile_update_http.CallbackTests.UNHANDLED
static
Initial value:
= ("An unhandled error occurred while checking for automatic "
"updates for engine 'FakeEngine'. Error detail: "
"callback failed")