Procházet zdrojové kódy

[#54] Changed the expected id of a newly created class in the TestEmClassCreation class

Roland Haroutiounian před 9 roky
rodič
revize
3bb0dc70e1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      EditorialModel/test/test_classes.py

+ 1
- 1
EditorialModel/test/test_classes.py Zobrazit soubor

@@ -59,7 +59,7 @@ class TestEmClassCreation(ClassesTestCase):
59 59
         testClass = EM_TEST_OBJECT.create_component(EmClass.__name__, {'name': 'testclass1', 'classtype': EmClassType.entity['name']})
60 60
 
61 61
         #We check the uid
62
-        self.assertEqual(testClass.uid, 18)
62
+        self.assertEqual(testClass.uid, 22)
63 63
 
64 64
         # We check that the class has been added in the right list in the model object
65 65
         class_components_records = EM_TEST_OBJECT.components(EmClass)

Loading…
Zrušit
Uložit