51Degrees Pipeline for Python

tests.test_datafile_update_http.UpdateExpectedTimeTests Class Reference

Inheritance diagram for tests.test_datafile_update_http.UpdateExpectedTimeTests:

[legend]

Collaboration diagram for tests.test_datafile_update_http.UpdateExpectedTimeTests:

[legend]

Public Member Functions

 setUp (self)
 record (self, interval)
 testFirstCheckWaitsUntilExpectedTime (self)
 testPollingIntervalIsUsedOnceExpectedTimeHasPassed (self)
 testPlainDateOfTodayIsNotInTheFuture (self)

Public Member Functions inherited from tests.test_datafile_update_http.UpdateServiceTestCase

 get (self, reply)
 hold_timers (self)

Static Public Member Functions

 utc_now ()

Public Attributes

list intervals = []

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

◆ record()

tests.test_datafile_update_http.UpdateExpectedTimeTests.record ( self,
interval )

◆ setUp()

tests.test_datafile_update_http.UpdateExpectedTimeTests.setUp ( self)

◆ testFirstCheckWaitsUntilExpectedTime()

tests.test_datafile_update_http.UpdateExpectedTimeTests.testFirstCheckWaitsUntilExpectedTime ( self)

◆ testPlainDateOfTodayIsNotInTheFuture()

tests.test_datafile_update_http.UpdateExpectedTimeTests.testPlainDateOfTodayIsNotInTheFuture ( self)

◆ testPollingIntervalIsUsedOnceExpectedTimeHasPassed()

tests.test_datafile_update_http.UpdateExpectedTimeTests.testPollingIntervalIsUsedOnceExpectedTimeHasPassed ( self)

◆ utc_now()

tests.test_datafile_update_http.UpdateExpectedTimeTests.utc_now ( )
static

Member Data Documentation

◆ intervals

tests.test_datafile_update_http.UpdateExpectedTimeTests.intervals = []