Drop unused parameter 'newnames' in clone_agent()
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 11 Oct 2017 10:52:43 +0200
changeset 228 215ffd567613
parent 225 26c0874fe199
child 229 00a664463fdb
Drop unused parameter 'newnames' in clone_agent()
test/test_compound.py
--- a/test/test_compound.py	Thu Jul 13 13:48:45 2017 +0200
+++ b/test/test_compound.py	Wed Oct 11 10:52:43 2017 +0200
@@ -266,7 +266,7 @@
             self.assertEqual(icontained.parent_relation(), ('event', 'object'))
 
 
-def clone_agent(cnx, name=u'bob', newname=u'bobby', skiprtypes=()):
+def clone_agent(cnx, name=u'bob', skiprtypes=()):
     bob = cnx.find('Agent', name=name).one()
     clone = cnx.create_entity('Agent', name=u'bobby')
     adapted = bob.cw_adapt_to('IClonable')