def get_application_config(self): """Get path of app configuration file. We lookup a file `.waeupident.ini` in user home. """ path = get_conffile_location() Logger.debug("waeup.identifier: expect config file in %s" % path) return super(FPScanApp, self).get_application_config(path)
def test_get_conffile_location(self, home_dir): # we can get a config file location path result = get_conffile_location() assert result == str(home_dir / '.waeupident.ini')