Inheritance diagram for tests.test_datafile_update_http.DownloadedFileTests:
Collaboration diagram for tests.test_datafile_update_http.DownloadedFileTests:
Public Member Functions | |
| setUp (self) | |
| errors (self) | |
| testADownloadedFileIsWrittenAndReadBackByTheEngine (self) | |
| testAFailedWriteEndsTheUpdateAndLeavesTheEngineAlone (self) | |
| testAFailedTemporaryCopyIsAnyOtherError (self) | |
Public Member Functions inherited from tests.test_datafile_update_http.UpdateServiceTestCase | |
| get (self, reply) | |
| hold_timers (self) | |
Public Attributes | |
| folder = tempfile.mkdtemp() | |
| path = os.path.join(self.folder, "data.dat") | |
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.DownloadedFileTests.errors | ( | self | ) |
◆ setUp()
| tests.test_datafile_update_http.DownloadedFileTests.setUp | ( | self | ) |
Reimplemented from tests.test_datafile_update_http.UpdateServiceTestCase.
◆ testADownloadedFileIsWrittenAndReadBackByTheEngine()
| tests.test_datafile_update_http.DownloadedFileTests.testADownloadedFileIsWrittenAndReadBackByTheEngine | ( | self | ) |
◆ testAFailedTemporaryCopyIsAnyOtherError()
| tests.test_datafile_update_http.DownloadedFileTests.testAFailedTemporaryCopyIsAnyOtherError | ( | self | ) |
◆ testAFailedWriteEndsTheUpdateAndLeavesTheEngineAlone()
| tests.test_datafile_update_http.DownloadedFileTests.testAFailedWriteEndsTheUpdateAndLeavesTheEngineAlone | ( | self | ) |
Member Data Documentation
◆ folder
| tests.test_datafile_update_http.DownloadedFileTests.folder = tempfile.mkdtemp() |
◆ path
| tests.test_datafile_update_http.DownloadedFileTests.path = os.path.join(self.folder, "data.dat") |
