linotp.lib.selftest module

check if we are running in selftest mode

linotp.lib.selftest.isSelfTest(config=None)[source]

check if we are running in the selftest mode, which is used especially for debugging / development or unit tests

Parameters:config – config dictionary
Returns:boolean