Browse Source

EmComponent : test_component less verbose

ArnAud 9 years ago
parent
commit
332e771411
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      EditorialModel/test/test_component.py

+ 1
- 1
EditorialModel/test/test_component.py View File

20
     def test_hashes(self):
20
     def test_hashes(self):
21
         """ Testing __hash__ and __eq__ methods """
21
         """ Testing __hash__ and __eq__ methods """
22
         me1 = Model(EmBackendJson('EditorialModel/test/me.json'))
22
         me1 = Model(EmBackendJson('EditorialModel/test/me.json'))
23
-        me2 = Model(EmBackendJson('EditorialModel/test/me.json'), migration_handler=DummyMigrationHandler(True))
23
+        me2 = Model(EmBackendJson('EditorialModel/test/me.json'), migration_handler=DummyMigrationHandler())
24
 
24
 
25
         for comp_class in [EmClass, EmType, EmField, EmFieldGroup]:
25
         for comp_class in [EmClass, EmType, EmField, EmFieldGroup]:
26
             comp_l1 = me1.components(comp_class)
26
             comp_l1 = me1.components(comp_class)

Loading…
Cancel
Save