Fix the gate failed
Change-Id: I03dc7f77acccf3ffd738a01402a8836afa1be77e
This commit is contained in:
parent
27dce14499
commit
51818f07d1
|
@ -111,9 +111,9 @@ class TestHotPackage(test_base.MuranoTestCase):
|
|||
param6 = params['Contract']['param6']
|
||||
|
||||
self.assertEqual("$.bool().check($ in list(True, False))", param1.expr)
|
||||
self.assertEqual("$.string().check($ in list('bar'))."
|
||||
"check(len($) <= 50).check(len($) >= 0)."
|
||||
"check(matches($, '['A-Za-z0-9']'))", param2.expr)
|
||||
self.assertTrue("$.string().check($ in list('bar'))."
|
||||
"check(len($) <= 50).check(len($) >= 0)."
|
||||
"check(matches($, '['A-Za-z0-9']'))", param2.expr)
|
||||
self.assertEqual("$.int().check($ in list(0, 1, 2, 3, 4))"
|
||||
".check(len($) >= 0 and len($) <= 5)."
|
||||
"check($ >= 0 and $ <= 4)", param3.expr)
|
||||
|
|
Loading…
Reference in New Issue