cubicweb #10096736 drop_cube command does not remove custom types [validation pending]

This can be seen in SchemaDeserialTC.test_deserialization_base, where there is a residual Numeric entity type on 3.22 head.

FAIL: test_deserialization_base (unittest_repository.SchemaDeserialTC)
Check the following deserialization
Traceback (most recent call last)
  File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/server/.tox/server/local/lib/python2.7/site-packages/logilab/common/", line 463, in _proceed
    testfunc(*args, **kwargs)
  File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/server/cubicweb/server/test/", line 397, in test_deserialization_base
    (u'TZDatetime',), (u'TZTime',), (u'Time',)])
  File "/usr/lib/python2.7/unittest/", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/", line 742, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib/python2.7/unittest/", line 724, in assertSequenceEqual
  File "/usr/lib/python2.7/unittest/", line 410, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [(u'BabarTestType',), (u'BigIn... != [(u'BabarTestType',), (u'BigIn...

First differing element 10:

First list contains 1 additional elements.
First extra element 15:

-  (u'Numeric',),

This appears to be because in some previous test add_cube('fakecustomtype') is called, which adds a Numeric custom type and despite the drop_cube invocation, the latter persists.

done in3.23.0
load left0.000
closed by#25ec9be5f305 [test/migractions] work around drop_cube not deleting final etypes
patchWIP attempt to fix removal of final types - pb with missing (re)loading of site_cubicweb [rejected][test/migractions] work around drop_cube not deleting final etypes [applied]