예제 #1
0
 def test_verify_fail(self):
     ic = IdenticalConstraint(params_checking=False)
     assert not ic.verify(['comp1', 'hello', 'comp1'], {})
예제 #2
0
 def test_verify_fail(self):
     ic = IdenticalConstraint(params_checking=False)
     assert not ic.verify(['comp1', 'hello', 'comp1'])
예제 #3
0
 def test_verify_success(self):
     ic = IdenticalConstraint(params_checking=False)
     assert ic.verify(['comp1', 'comp1', 'comp1'], {})
예제 #4
0
 def test_verify_success(self):
     ic = IdenticalConstraint(params_checking=False)
     assert ic.verify(['comp1', 'comp1', 'comp1'])