diff --git a/tests/test_profile.py b/tests/test_profile.py index bda8b324a..d0ed48699 100644 --- a/tests/test_profile.py +++ b/tests/test_profile.py @@ -1,4 +1,3 @@ -import pytest from PyQt5 import QtCore from PyQt5.QtWidgets import QDialogButtonBox from vorta.store.models import BackupProfileModel @@ -10,7 +9,6 @@ def test_profile_add(qapp, qtbot): add_profile_window = main.window qtbot.addWidget(add_profile_window) - qtbot.waitUntil(lambda: add_profile_window == qapp.activeWindow(), **pytest._wait_defaults) qtbot.keyClicks(add_profile_window.profileNameField, 'Test Profile') qtbot.mouseClick(add_profile_window.buttonBox.button(QDialogButtonBox.Save), QtCore.Qt.LeftButton) @@ -25,7 +23,6 @@ def test_profile_edit(qapp, qtbot): edit_profile_window = main.window qtbot.addWidget(edit_profile_window) - qtbot.waitUntil(lambda: edit_profile_window == qapp.activeWindow(), **pytest._wait_defaults) edit_profile_window.profileNameField.setText("") qtbot.keyClicks(edit_profile_window.profileNameField, 'Test Profile')