Skip to content

Commit

Permalink
Extend testing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarta committed Oct 9, 2020
1 parent 70b8f0c commit 822707f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qubesmanager/tests/test_qube_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def test_403_event_dispvm_added(self):
# dispvm to vanish
self._run_command_and_process_events(
["qvm-run", "--dispvm", dispvm_template, "true"], timeout=60,
additional_timeout=30)
additional_timeout=60)

final_vms = self._create_set_of_current_vms()

Expand Down Expand Up @@ -871,7 +871,7 @@ def test_405_prop_change_label(self):
self.addCleanup(
subprocess.call, ["qvm-prefs", target_vm_name, "label", "blue"])
self._run_command_and_process_events(
["qvm-prefs", target_vm_name, "label", "red"])
["qvm-prefs", target_vm_name, "label", "red"], timeout=20)

new_label = self._get_table_item(vm_row, "Label", Qt.DecorationRole)

Expand Down Expand Up @@ -1281,7 +1281,7 @@ def _get_table_vm(self, row):
model = self.dialog.table.model()
return model.index(row, 0).data(Qt.UserRole).vm

def _get_table_item(self, row, column_name, role = Qt.DisplayRole):
def _get_table_item(self, row, column_name, role=Qt.DisplayRole):
model = self.dialog.table.model()
column = self.dialog.qubes_model.columns_indices.index(column_name)
return model.index(row, column).data(role)
Expand Down

0 comments on commit 822707f

Please sign in to comment.