@pytest.fixture
def qt_key(request):
    (QtCore, _, keys) = request.getfixturevalue('qt_module')
    if request.param.startswith('Key'):
        return getattr(QtCore.Qt, request.param)
    else:
        return keys[request.param]
@pytest.fixture
def qt_key(request):
    (QtCore, _, keys) = request.getfixturevalue('qt_module')
    if request.param.startswith('Key'):
        return getattr(QtCore.Qt, request.param)
    else:
        return keys[request.param]