@@ -191,21 +191,21 @@ def test_check_node_idle_idle_after_remove(self, mock_restc):
191
191
def test_provisioning_time_out_negative (self , mock_restc ):
192
192
clusmgr = HpcClusterManager (mock_restc , provisioning_timeout = TENMINUTES )
193
193
clusmgr .add_slaveinfo (HOST1HOSTNAME , HOST1AGENTID , HOST1TASKID1 , 1 , UTCNOW )
194
- res , _ , _ = clusmgr ._check_timeout (UTCNOW + TENMINUTES - ONESEC )
194
+ res , _ = clusmgr ._check_timeout (UTCNOW + TENMINUTES - ONESEC )
195
195
self .assertFalse (res )
196
196
197
197
@patch ("hpc_cluster_manager.HpcRestClient" , autospec = True )
198
198
def test_provisioning_time_out_positive (self , mock_restc ):
199
199
clusmgr = HpcClusterManager (mock_restc , provisioning_timeout = TENMINUTES )
200
200
clusmgr .add_slaveinfo (HOST1HOSTNAME , HOST1AGENTID , HOST1TASKID1 , 1 , UTCNOW )
201
- res , _ , _ = clusmgr ._check_timeout (UTCNOW + TENMINUTES )
201
+ res , _ = clusmgr ._check_timeout (UTCNOW + TENMINUTES )
202
202
self .assertTrue (res )
203
203
204
204
@patch ("hpc_cluster_manager.HpcRestClient" , autospec = True )
205
205
def test_provisioning_time_out_positive2 (self , mock_restc ):
206
206
clusmgr = HpcClusterManager (mock_restc )
207
207
clusmgr .add_slaveinfo (HOST1HOSTNAME , HOST1AGENTID , HOST1TASKID1 , 1 , UTCNOW )
208
- res , _ , _ = clusmgr ._check_timeout ()
208
+ res , _ = clusmgr ._check_timeout ()
209
209
self .assertTrue (res )
210
210
211
211
@patch ("hpc_cluster_manager.HpcRestClient" , autospec = True )
0 commit comments