def test_save_default_label(self):
        outputport = OutputPort(output_port_type=self.test_outputporttype,
                                workflow_job=self.test_workflowjob)
        outputport.save()

        retr_op = OutputPort.objects.get(uuid=outputport.uuid)
        self.assertEqual(retr_op.label, self.test_outputporttype.name)
    def test_save(self):
        outputport = OutputPort(label="test output port",
                                output_port_type=self.test_outputporttype,
                                workflow_job=self.test_workflowjob)
        outputport.save()

        retr_op = OutputPort.objects.get(label="test output port")
        self.assertEqual(retr_op.label, "test output port")
Exemple #3
0
    def test_save_default_label(self):
        outputport = OutputPort(output_port_type=self.test_outputporttype, workflow_job=self.test_workflowjob)
        outputport.save()

        retr_op = OutputPort.objects.get(uuid=outputport.uuid)
        self.assertEqual(retr_op.label, self.test_outputporttype.name)
Exemple #4
0
    def test_save(self):
        outputport = OutputPort(label="test output port", output_port_type=self.test_outputporttype, workflow_job=self.test_workflowjob)
        outputport.save()

        retr_op = OutputPort.objects.get(label="test output port")
        self.assertEqual(retr_op.label, "test output port")