Exemplo n.º 1
0
    def test_align_software_unicode(self):
        '''This tests that the unicode representation of an :class:`~experiments.models.SequenceAlignmentSoftware` is set as its description.'''

        test_software = SequenceAlignmentSoftware(name="Test Software",
                                                  version="1.0.1")
        test_software.save()
        self.assertEqual(test_software.__unicode__(), "Test Software (1.0.1)")
Exemplo n.º 2
0
 def test_align_software_unicode(self):
     '''This tests that the unicode representation of an :class:`~experiments.models.SequenceAlignmentSoftware` is set as its description.'''               
     
     test_software = SequenceAlignmentSoftware(name = "Test Software", version="1.0.1")
     test_software.save()
     self.assertEqual(test_software.__unicode__(), "Test Software (1.0.1)")