فهرست منبع

Fixed typo in tests

Yentl Van Tendeloo 7 سال پیش
والد
کامیت
87c4befcdc
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 1
      unit/test_all.py
  2. 2 0
      wrappers/modelverse_SCCD.py

+ 1 - 1
unit/test_all.py

@@ -4724,7 +4724,7 @@ class TestModelverse(unittest.TestCase):
             transformation_execute_AL("users/user/test/d", {"MODEL_A": "users/user/test/b"}, {"MODEL_B": "users/user/test/c"})
             self.fail()
         except TypeMismatch:
-            assert element_list("users/user/test/c") > 0
+            assert len(element_list("users/user/test/c")) > 0
 
         # Source model is folder
         try:

+ 2 - 0
wrappers/modelverse_SCCD.py

@@ -1,6 +1,8 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
+Date:   Wed Aug  1 14:36:19 2018
+
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server
 Model description: