Exemple #1
0
 def test_init_with_ins(self):
     engine = EngineBase(instance=self.ins1)
     self.assertEqual(self.ins1.instance_name, engine.instance_name)
     self.assertEqual(self.ins1.user, engine.user)
Exemple #2
0
 def test_init_with_workflow(self):
     engine = EngineBase(workflow=self.wf1)
     self.assertEqual(self.ins1.instance_name, engine.instance_name)
     self.assertEqual(self.ins1.user, engine.user)