Mark test_get_all_objects_qapp to use qapp.

This commit is contained in:
Florian Bruhin 2015-08-11 18:14:17 +02:00
parent 52ec9ed28f
commit 55bf555bfb

View File

@ -244,6 +244,7 @@ class TestGetAllObjects:
assert debug.get_all_objects(start_obj=root) == expected
@pytest.mark.usefixtures('qapp')
def test_get_all_objects_qapp(self):
objects = debug.get_all_objects()
assert '<PyQt5.QtCore.QAbstractEventDispatcher object at' in objects