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