def test_get_extra_second(self): self.appThridMock.app_one.name = '2' self.appThridMock.app_second.name = '2' result = AppThird.get_extra(self.appThridMock) self.assertEqual(result, u'22-Test')
def test_get_extra(self): result = AppThird.get_extra(self.appThridMock) self.assertEqual(result, u'1-Test')