diff --git a/tests/test_wallpaper.py b/tests/test_wallpaper.py index 678b861..5841876 100644 --- a/tests/test_wallpaper.py +++ b/tests/test_wallpaper.py @@ -11,8 +11,7 @@ from aqt.qt import QColor, QWidget, QImage from tests.anki_tools import move_main_window_to_state, anki_version -from tests.conftest import wait_until - +from tests.conftest import wait_until, wait image_save_folder = os.getcwd() @@ -233,7 +232,9 @@ def text(self, new_text): yield Editor() finally: config_editor.accept() + config_editor.reject() addons_dialog.accept() + wait(0) @contextmanager