소스 검색

Fixed test file for wrappers

Yentl Van Tendeloo 8 년 전
부모
커밋
fbc4f18ce1
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      wrappers/test.py

+ 1 - 6
wrappers/test.py

@@ -59,12 +59,7 @@ except ModelExists:
 # Add an example model transformation to print the reachability graph
 print("Add MT model")
 try:
-    transformation_add_MT_language(["ReachabilityGraph"], "RAMified_ReachabilityGraph")
-except ModelExists:
-    pass
-
-try:
-    transformation_add_MT("RAMified_ReachabilityGraph", {"ReachabilityGraph": "ReachabilityGraph"}, {}, "printReachability", open("models/reachabilitygraph_print.mvc").read())
+    transformation_add_MT({"ReachabilityGraph": "ReachabilityGraph"}, {}, "printReachability", open("models/reachabilitygraph_print.mvc").read())
 except ModelExists:
     pass