[server/migractions] drop mock_object
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 06 Aug 2015 15:21:58 +0200
changeset 10573 e4a807b49b58
parent 10572 2d5f7780b568
child 10574 6a07c2dc3d85
[server/migractions] drop mock_object It doesn't seem to have ever been used.
server/migractions.py
--- a/server/migractions.py	Thu Aug 06 15:24:16 2015 +0200
+++ b/server/migractions.py	Thu Aug 06 15:21:58 2015 +0200
@@ -60,9 +60,6 @@
 from cubicweb.server.sqlutils import sqlexec, SQL_PREFIX
 
 
-def mock_object(**params):
-    return type('Mock', (), params)()
-
 class ClearGroupMap(hook.Hook):
     __regid__ = 'cw.migration.clear_group_mapping'
     __select__ = hook.Hook.__select__ & is_instance('CWGroup')