<filename>Ch4/reference-test-working-as-desired/testlib/common.py
# Global variables, can be moved to config file
cfgImageLibrary = "images" # image search directory
cfgLoggingLevel = "debug" # logging level, possible values 'debug', 'info'
imageMinSimilarity = 0.80

# Custom Exception for verification failures
class VerificationFailed(Exception):
	def __init__(self, value):
		self.value = value
	def __str__(self):
		return self.value
<filename>Ch4/reference-test-working-as-desired/testlib/common.py
# Global variables, can be moved to config file
cfgImageLibrary = "images" # image search directory
cfgLoggingLevel = "debug" # logging level, possible values 'debug', 'info'
imageMinSimilarity = 0.80

# Custom Exception for verification failures
class VerificationFailed(Exception):
	def __init__(self, value):
		self.value = value
	def __str__(self):
		return self.value
# Global variables, can be moved to config file # image search directory # logging level, possible values 'debug', 'info' # Custom Exception for verification failures