[web/test] don't depend on iteration order on a set
Fixes test under python -R ('pending_insert' in session data is a set,
so we can't rely on any particular ordering). Related to #4959402.
usr/lib/PY_VERSION/*-packages/cubicweb/server/
usr/lib/PY_VERSION/*-packages/cubicweb/hooks/
usr/lib/PY_VERSION/*-packages/cubicweb/sobjects/
usr/lib/PY_VERSION/*-packages/cubicweb/schemas/
usr/share/cubicweb/migration/