We want to make sure that the selection model gets deleted when clearing the model, since we are switching from doing that directly to having it happen indirectly based off of signals we don't manage. Hopefully this doesn't end up to be flaky. I think we are depending on this happening in two different Qt even loop runs (`model.deleteLater()` in the first one then `selmod.deleteLater()` gets called from the `model.deleted` signal). I tried using `qtbot.wait_signals()` with a list but it segfaulted in some cleanup method. Perhaps is doesn't handle the deleted signal well? Alternately we could maybe just wait for the selmodel one and check `sip.isdelted(model)` to check the model is gone too. |
||
|---|---|---|
| .. | ||
| test_completer.py | ||
| test_completiondelegate.py | ||
| test_completionmodel.py | ||
| test_completionwidget.py | ||
| test_histcategory.py | ||
| test_listcategory.py | ||
| test_models.py | ||