Example #1
0
    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)
Example #2
0
    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)
Example #3
0
 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')
Example #4
0
 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')