From 04aadcdd4962f14ea926587ab692362e6947826a Mon Sep 17 00:00:00 2001 From: signedav Date: Fri, 1 Dec 2023 08:50:52 +0100 Subject: [PATCH] sleep in test --- tests/test_projecttopping.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_projecttopping.py b/tests/test_projecttopping.py index 4841005..9ce1bbe 100644 --- a/tests/test_projecttopping.py +++ b/tests/test_projecttopping.py @@ -1249,6 +1249,10 @@ def get_topping_file_model(self, base_config, id_list, tool_dir=None): if len(topping_file_cache.downloaded_files) != len(id_list): loop.exec() + # since the local download is quicker than the delay in the model refresh, we make one here as well + timer.start(3000) + loop.exec() + return topping_file_cache.model # that's the same (more or less) like in project_creation_page.py