[cleanup] Fix variable name
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 29 Mar 2017 08:54:39 +0200
changeset 2549 25a08a735334
parent 2548 8f9c8fd47867
child 2550 a30217def173
[cleanup] Fix variable name
test/test_profile_generation.py
--- a/test/test_profile_generation.py	Wed Mar 29 08:54:25 2017 +0200
+++ b/test/test_profile_generation.py	Wed Mar 29 08:54:39 2017 +0200
@@ -391,8 +391,8 @@
 
             bdo.cw_set(user_cardinality=u'1')
             profile = self.profile_etree(transfer)
-            fileinfo = self.get_element(profile, 'DataObjectPackage')
-            self.assertElementDefinition(fileinfo, {'name': 'DataObjectPackage'})
+            dop = self.get_element(profile, 'DataObjectPackage')
+            self.assertElementDefinition(dop, {'name': 'DataObjectPackage'})
 
     def test_object_package_group(self):
         with self.admin_access.client_cnx() as cnx: