fix tests
This commit is contained in:
parent
4b430f4956
commit
855698cf39
|
@ -4,7 +4,7 @@ from PIL import Image
|
|||
|
||||
from onnx_web.chain.blend_mask import BlendMaskStage
|
||||
from onnx_web.chain.result import StageResult
|
||||
from onnx_web.params import HighresParams, UpscaleParams
|
||||
from onnx_web.params import HighresParams, SizeChart, UpscaleParams
|
||||
|
||||
|
||||
class BlendMaskStageTests(unittest.TestCase):
|
||||
|
@ -20,6 +20,7 @@ class BlendMaskStageTests(unittest.TestCase):
|
|||
highres=HighresParams(False, 1, 0, 0),
|
||||
upscale=UpscaleParams(""),
|
||||
stage_mask=Image.new("RGBA", (64, 64)),
|
||||
dims=(0, 0, SizeChart.auto)
|
||||
)
|
||||
|
||||
self.assertEqual(len(result), 0)
|
||||
|
|
Loading…
Reference in New Issue