@@ -51,7 +51,7 @@ def tearDownClass(cls):
51
51
# TODO: refactor parameters to **kwargs to handle all startup combinations
52
52
def doTestStartup (self , option = '' , testDir = '' , testFile = '' ,
53
53
loadPlugins = False , customization = False ,
54
- timeOut = 270 , env = None , additionalArguments = []):
54
+ timeOut = 360 , env = None , additionalArguments = []):
55
55
"""Run QGIS with the given option. Wait for testFile to be created.
56
56
If time runs out, fail.
57
57
"""
@@ -106,14 +106,14 @@ def testOptionsPath(self):
106
106
self .doTestStartup (option = "--optionspath" ,
107
107
testDir = os .path .join (self .TMP_DIR , p ),
108
108
testFile = ini ,
109
- timeOut = 270 )
109
+ timeOut = 360 )
110
110
111
111
def testConfigPath (self ):
112
112
for p in ['test_config' , 'test config' , u'test_configé€' ]:
113
113
self .doTestStartup (option = "--configpath" ,
114
114
testDir = os .path .join (self .TMP_DIR , p ),
115
115
testFile = "qgis.db" ,
116
- timeOut = 270 )
116
+ timeOut = 360 )
117
117
118
118
def testPluginPath (self ):
119
119
for t in ['test_plugins' , 'test plugins' , u'test_pluginsé€' ]:
@@ -138,7 +138,7 @@ def testPluginPath(self):
138
138
option = "--optionspath" ,
139
139
testDir = testDir ,
140
140
testFile = "plugin_started.txt" ,
141
- timeOut = 270 ,
141
+ timeOut = 360 ,
142
142
loadPlugins = True ,
143
143
env = {'QGIS_PLUGINPATH' : testDir })
144
144
@@ -158,7 +158,7 @@ def testPyQgisStartupEnvVar(self):
158
158
f .close ()
159
159
self .doTestStartup (
160
160
testFile = testfilepath ,
161
- timeOut = 270 ,
161
+ timeOut = 360 ,
162
162
env = {'PYQGIS_STARTUP' : testmod })
163
163
164
164
def testOptionsAsFiles (self ):
@@ -169,12 +169,12 @@ def testOptionsAsFiles(self):
169
169
self .doTestStartup (option = "--configpath" ,
170
170
testDir = os .path .join (self .TMP_DIR , 'test_optionsAsFiles' ),
171
171
testFile = "qgis.db" ,
172
- timeOut = 270 ,
172
+ timeOut = 360 ,
173
173
additionalArguments = ['--help' ])
174
174
self .doTestStartup (option = "--configpath" ,
175
175
testDir = os .path .join (self .TMP_DIR , 'test_optionsAsFiles' ),
176
176
testFile = "qgis.db" ,
177
- timeOut = 270 ,
177
+ timeOut = 360 ,
178
178
additionalArguments = ['--' , '--help' ])
179
179
180
180
0 commit comments