# HG changeset patch # User Julien Cristau # Date 1438867318 -7200 # Node ID e4a807b49b5892862dee0afd559c6cc80e3126c6 # Parent 2d5f7780b5682ca498e3f3330450303e8b4d2c3c [server/migractions] drop mock_object It doesn't seem to have ever been used. diff -r 2d5f7780b568 -r e4a807b49b58 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')