

def test_unicode(self):
    'Unicode representation is product name and version.'
    pv = self.F.ProductVersionFactory(product__name='Some Product', version='1.0')
    self.assertEqual(unicode(pv), 'Some Product 1.0')

dataset/ETHPy150Open mozilla/moztrap/tests/model/core/models/test_productversion.py ProductVersionTest.test_unicode/original