[test/migractions] work around drop_cube not deleting final etypes
Closes #10096736
--- a/cubicweb/server/test/unittest_migractions.py Mon Mar 21 17:09:41 2016 +0100
+++ b/cubicweb/server/test/unittest_migractions.py Mon Mar 21 17:10:08 2016 +0100
@@ -302,6 +302,7 @@
self.assertEqual(fields['%snum' % SQL_PREFIX], ('numeric', None)) # XXX
finally:
mh.cmd_drop_cube('fakecustomtype')
+ mh.drop_entity_type('Numeric')
def test_add_drop_entity_type(self):
with self.mh() as (cnx, mh):
--- a/cubicweb/server/test/unittest_repository.py Mon Mar 21 17:09:41 2016 +0100
+++ b/cubicweb/server/test/unittest_repository.py Mon Mar 21 17:10:08 2016 +0100
@@ -362,7 +362,6 @@
helper.TYPE_CONVERTERS.pop('BabarTestType', None)
super(SchemaDeserialTC, cls).tearDownClass()
- @unittest.skip('Numeric final type is not properly dropped')
def test_deserialization_base(self):
"""Check the following deserialization