Mark test_get_all_objects_qapp to use qapp.
This commit is contained in:
parent
52ec9ed28f
commit
55bf555bfb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user