If you want to have visual feedback add the following line in the 
test_select_and_commands function:
...
meth = getattr(app, name)
meth()
app.processEvents() # <--- add this line
...

Tests wilil run about 3 times slower, so you might want to change 
max_examples=5000 in the decorator to something less.
Vitalije

On Saturday, May 9, 2020 at 2:15:43 PM UTC+2, Edward K. Ream wrote:
>
> On Friday, May 8, 2020 at 1:42:12 AM UTC-5, vitalije wrote:
>
> > I use pytest for running the tests. Just 'pytest myleoqt.py'. 
>
> When I do that a blank python window appears and everything hangs.
>
> I've tried waiting several minutes. What should I do?
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/ec6af910-732e-47ff-b6e0-50d475eaaf7a%40googlegroups.com.

Reply via email to