51Degrees Pipeline for Python

tests.test_datafile_update_http.FileDataFile Class Reference

Detailed Description

Stands in for a data file kept on disk, whose engine reads the file
rather than the data held in memory, as the on-premise engines do.

Inheritance diagram for tests.test_datafile_update_http.FileDataFile:

[legend]

Collaboration diagram for tests.test_datafile_update_http.FileDataFile:

[legend]

Public Member Functions

 __init__ (self, path)
 refresh (self)

Public Member Functions inherited from tests.test_datafile_update_http.HttpDataFile

 __init__ (self, path=None)
 get_update_url (self)
 get_date_published (self)
 get_next_update (self)

Additional Inherited Members

Public Attributes inherited from tests.test_datafile_update_http.HttpDataFile

 flow_element = FakeEngine()
str identifier = "fake-data"
bool update_on_start = False
bool auto_update = False
bool file_system_watcher = False
bool updating = False
bool verify_if_modified_since = True
bool verify_md5 = False
bool decompress = False
bool download = False
bool create_temp_copy = False
int polling_interval = 30
int update_time_maximum_randomisation = 0
str data = b"old"
list refreshed = []
 published = datetime.datetime(2026, 11, 3, 10, 30, 0)
 next_update = datetime.datetime(2026, 11, 3, 10, 30, 0)
 refresh_error = None
 url = URL
 path = path

Constructor & Destructor Documentation

◆ __init__()

tests.test_datafile_update_http.FileDataFile.__init__ ( self,
path )

Member Function Documentation

◆ refresh()

tests.test_datafile_update_http.FileDataFile.refresh ( self)