Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtedde committed Aug 30, 2023
1 parent 999732e commit e44defe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/test_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ def test_ssh_copy_to_clipboard_action(qapp, qtbot, mocker, tmpdir):
qtbot.waitUntil(lambda: ssh_dialog.errors.text().startswith('New key was copied'), **pytest._wait_defaults)
cancel_button = ssh_dialog.buttonBox.button(QDialogButtonBox.StandardButton.Cancel)
qtbot.mouseClick(cancel_button, QtCore.Qt.MouseButton.LeftButton)
assert len(ssh_dir.listdir()) == 2
assert tab.sshComboBox.count() > 1

# no ssh key selected to copy
assert tab.sshComboBox.currentIndex() == 0
Expand Down

0 comments on commit e44defe

Please sign in to comment.