mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-02 00:04:53 -04:00
Fix TRAVIS qgis_global_settings path
This commit is contained in:
parent
8486767fa3
commit
59aa5d3c7b
@ -39,9 +39,10 @@ class TestQgsGlobalSettings(unittest.TestCase):
|
||||
|
||||
def test_global_settings_exist(self):
|
||||
qDebug('QgsApplication.pkgDataPath(): {0}'.format(QgsApplication.pkgDataPath()))
|
||||
# Path after deployment: QgsApplication.pkgDataPath() + '/qgis_global_settings.ini'
|
||||
# QgsSettings.setGlobalSettingsPath(QgsApplication.pkgDataPath() + '/resources/qgis_global_settings.ini')
|
||||
QgsSettings.setGlobalSettingsPath(QgsApplication.pkgDataPath() + '/qgis_global_settings.ini')
|
||||
# Path after deployment
|
||||
# QgsSettings.setGlobalSettingsPath(QgsApplication.pkgDataPath() + '/qgis_global_settings.ini')
|
||||
# Path before deployment
|
||||
QgsSettings.setGlobalSettingsPath(QgsApplication.pkgDataPath() + '/resources/qgis_global_settings.ini')
|
||||
self.settings = QgsSettings('testqgissettings', 'testqgissettings')
|
||||
settings = QgsSettings()
|
||||
# qDebug('settings.allKeys(): {0}'.format(settings.allKeys()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user