51Degrees Pipeline for Python

tests.test_datafile_update_service.StandInDataFile Class Reference

Detailed Description

Stands in for the data file of an engine that keeps the data it has
when a refresh fails.

Public Member Functions

 __init__ (self, path)
 refresh (self)

Public Attributes

 path = path
bool update_on_start = False
bool auto_update = False
bool file_system_watcher = True
bool updating = False
 data = read(path)

Constructor & Destructor Documentation

◆ __init__()

tests.test_datafile_update_service.StandInDataFile.__init__ ( self,
path )

Member Function Documentation

◆ refresh()

tests.test_datafile_update_service.StandInDataFile.refresh ( self)

Member Data Documentation

◆ auto_update

bool tests.test_datafile_update_service.StandInDataFile.auto_update = False

◆ data

tests.test_datafile_update_service.StandInDataFile.data = read(path)

◆ file_system_watcher

bool tests.test_datafile_update_service.StandInDataFile.file_system_watcher = True

◆ path

tests.test_datafile_update_service.StandInDataFile.path = path

◆ update_on_start

bool tests.test_datafile_update_service.StandInDataFile.update_on_start = False

◆ updating

bool tests.test_datafile_update_service.StandInDataFile.updating = False