Skip to content

Commit f144236

Browse files
Update for compatibility with webware.
1 parent eab5e5b commit f144236

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

webware/MiddleKit/Tests/Test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
import time
77
from glob import glob
88

9+
import webware
10+
webware.mockAppWithPlugins()
911
from TestCommon import *
1012
pyexe = sys.executable
1113

webware/MiddleKit/Tests/TestCommon.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
import sys
88
import time
99
import FixPath
10-
#from webware import MiscUtils
1110
import MiddleKit
12-
from MiddleKit.Core.Klasses import Klasses
1311

1412
workDir = 'WorkDir'
1513

webware/MiddleKit/Tests/TestDesign.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
"""TestDesign.py"""
44

5+
import webware
6+
webware.mockAppWithPlugins()
57
from TestCommon import *
68
from MiddleKit.Design.Generate import Generate
79
from MiddleKit.Core.Model import Model

webware/MiddleKit/Tests/TestRun.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
"""Run MiddleKit test script."""
44

5+
import webware
6+
webware.mockAppWithPlugins()
57
from TestCommon import *
68
import MiddleKit.Run
79

0 commit comments

Comments
 (0)